-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] SceIoStat functions #47
Comments
What fields in particular would you need from SceIoStat? |
Ideally? All of them. There's no way to get to these currently without either writing C or figuring out LuaJIT's FFI library, which makes me uncomfortable due to hyln9/vita-libdl#1 being an open issue relating to |
is there an usage of sceIoChstat and/or doc about it? The only snippets i found about it are to fill an error on id.dat so that it gets regenerated. |
There's one linked in the VitaShell commit? As for documentation, VitaSDK's Doxygen seems to cover it pretty alright; Unix's |
Partially solved with 2fafdc8 |
Functions that deal with file status (declared in VitaSDK's File Status Library,
<psp2/io/stat.h>
) are not exposed by LPP, specifically the functions dealing withSceIoStat
:sceIoGetstat()
,sceIoGetstatByFd()
,sceIoChstat()
, andsceIoChstatByFd()
. (TheByFd
variants would likely fold into LPP'shandle
interface, provided from functions likeSystem.getFile
).)These functions are useful for implementing file managers at least.
The text was updated successfully, but these errors were encountered: