Discuss the development of new homebrew software, tools and libraries.
Moderators: cheriff , TyRaNiD
ne0h
Posts: 386 Joined: Thu Feb 21, 2008 2:15 am
Post
by ne0h » Fri Mar 28, 2008 6:31 am
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 » Fri Mar 28, 2008 6:54 am
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 » Fri Mar 28, 2008 7:04 am
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 » Fri Mar 28, 2008 9:13 am
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.