--TEST-- Test fsync() function: basic functionality --FILE-- --CLEAN-- --EXPECTF-- *** Testing fsync(): writing to a file and reading the contents *** int(63) bool(true) first line of string second line of string third line of stringint(63) *** Testing fsync(): for return type *** bool(true) *** Testing fsync(): attempting to sync stdin *** bool(false) *** Testing fsync(): for non-file stream *** Warning: fsync(): Can't fsync this stream! in %s on line %d bool(false) *** Done ***