#include <unistd.h>
|
|
void
sync (void); |
The fsync system call may be used to synchronize individual file descriptor attributes.
/**
* This sample code demonstrates usage of sync system call
*
**/
#include <unistd.h>
#include <stdio.h>
int main()
{
sync() ;
printf("sync system call flused all dirty buffers 0) ;
return 0 ;
}
Output
sync system call flused all dirty buffers
|
© 2007-2009 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user. |
|