http://www.perlmonks.org?node_id=837085


in reply to Where is the fsync_fd() function defined?

The docs state:

"The fsync_fd() function is used internally by fsync(); it takes a file descriptor as its only argument."

If you'd like to look at fsync_fd() see Sync.xs.

Update: Fixed typo: s/fsync_df/fsync_fd/ Thanks kennethk for pointing this out.