--TEST-- Test fdatasync() function: basic functionality --FILE-- --CLEAN-- --EXPECTF-- *** Testing fdatasync(): 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 fdatasync(): for return type *** bool(true) *** Testing fdatasync(): attempting to sync stdin *** bool(false) *** Testing fdatasync(): for non-file stream *** Warning: fdatasync(): Can't fsync this stream! in %s on line %d bool(false) *** Done ***