PSP equivalent for fsync?

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

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
uberjack
Posts: 34
Joined: Tue Jul 17, 2007 9:09 am
Location: California, USA
Contact:

PSP equivalent for fsync?

Post by uberjack »

What's the PSP SDK fsync (unistd.h) equivalent?
Thanks
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

sceIoSync() looks likely.
User avatar
uberjack
Posts: 34
Joined: Tue Jul 17, 2007 9:09 am
Location: California, USA
Contact:

Post by uberjack »

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.
Post Reply