forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SceIoStat, st_attr, st_private????

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Fri Mar 28, 2008 6:31 am    Post subject: SceIoStat, st_attr, st_private???? Reply with quote

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
View user's profile Send private message
weltall



Joined: 20 Feb 2004
Posts: 310

PostPosted: Fri Mar 28, 2008 6:54 am    Post subject: Reply with quote

what about trying them and figuring out yourself?... like everyone else does after all...
Back to top
View user's profile Send private message Visit poster's website
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Fri Mar 28, 2008 7:04 am    Post subject: Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Mar 28, 2008 9:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group