fileno 501 lib/common/io.c if (fsync(fileno(fp)) < 0) { fileno 254 lib/common/logging.c int logfd = fileno(logfile); fileno 1246 lib/common/xml.c if (fsync(fileno(stream)) < 0 && errno != EROFS && errno != EINVAL) {