C Programming in Linux Tutorial using GCC compiler. Tutorial should also be applicable in C/UNIX programming. An example on using fsync() function to synchronize changes to the file. A file descriptor is passed to the fsync function.