z/OS Using REXX and z/OS UNIX System Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


fsync

z/OS Using REXX and z/OS UNIX System Services
SA23-2283-00

Read syntax diagramSkip visual syntax diagram
>>-fsync--fd---------------------------------------------------><

Function

fsync invokes the fsync callable service to write changes on the direct access storage device that holds the file identified by the file descriptor.

Parameters

fd
The file descriptor (a number) for the file.

Usage notes

Upon return from a successful call, all updates have been saved on the direct access storage that holds the file.

Example

To invoke fsync for file descriptor 1:
"fsync 1"

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014