| View previous topic :: View next topic |
| Author |
Message |
uberjack

Joined: 17 Jul 2007 Posts: 34 Location: California, USA
|
Posted: Mon Jul 28, 2008 11:13 am Post subject: PSP equivalent for fsync? |
|
|
What's the PSP SDK fsync (unistd.h) equivalent?
Thanks |
|
| Back to top |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Mon Jul 28, 2008 6:46 pm Post subject: |
|
|
| sceIoSync() looks likely. |
|
| Back to top |
|
 |
uberjack

Joined: 17 Jul 2007 Posts: 34 Location: California, USA
|
Posted: Tue Jul 29, 2008 3:36 am Post subject: |
|
|
| 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 |
|
 |
|