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 

PSP equivalent for fsync?

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



Joined: 17 Jul 2007
Posts: 34
Location: California, USA

PostPosted: Mon Jul 28, 2008 11:13 am    Post subject: PSP equivalent for fsync? Reply with quote

What's the PSP SDK fsync (unistd.h) equivalent?
Thanks
Back to top
View user's profile Send private message Visit poster's website
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Mon Jul 28, 2008 6:46 pm    Post subject: Reply with quote

sceIoSync() looks likely.
Back to top
View user's profile Send private message
uberjack



Joined: 17 Jul 2007
Posts: 34
Location: California, USA

PostPosted: Tue Jul 29, 2008 3:36 am    Post subject: Reply with quote

Insert_witty_name wrote:
sceIoSync() looks likely.


I'm not sure it is. I need a routine that'll flush the contents of a file pointed to by a file descriptor (like fflush, but with a FD). Looks like sceIoSync flushes all the pending writes to a device? Not sure, the documentation doesn't seem to answer this fully.
Back to top
View user's profile Send private message Visit poster's website
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