SceIoStat, st_attr, st_private????

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
ne0h
Posts: 386
Joined: Thu Feb 21, 2008 2:15 am

SceIoStat, st_attr, st_private????

Post by ne0h »

I've read the SDK documentation and i've find this function:
SceIoStat:

st_mode
st_attr --> What do?
st_ctime --> How to display
st_atime --> How to display
st_mtime --> How to display
st_private[6] --> What do?

All the function are basically, but
there are no enough information...
weltall
Posts: 310
Joined: Fri Feb 20, 2004 1:56 am
Contact:

Post by weltall »

what about trying them and figuring out yourself?... like everyone else does after all...
ne0h
Posts: 386
Joined: Thu Feb 21, 2008 2:15 am

Post by ne0h »

i've tried this function, st_attr give me a 32 or 35, and st_ctime, st_atime, st_mtime make crash the PSP

resolved with st_ctime, st_atime and st_mtime

Excuse me for my bad english!
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Just use stat(), and then the returned data is as you'd expect for any POSIX-like OS. Or if you really care to see how it's converted, look in the newlib source that does it.
Post Reply