| View previous topic :: View next topic |
| Author |
Message |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Fri Mar 28, 2008 6:31 am Post subject: SceIoStat, st_attr, st_private???? |
|
|
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... |
|
| Back to top |
|
 |
weltall
Joined: 20 Feb 2004 Posts: 310
|
Posted: Fri Mar 28, 2008 6:54 am Post subject: |
|
|
| what about trying them and figuring out yourself?... like everyone else does after all... |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Fri Mar 28, 2008 7:04 am Post subject: |
|
|
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! |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Fri Mar 28, 2008 9:13 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
|