gfs_pio_write - write to a file
char *gfs_pio_write (GFS_File gf, void * buffer, int size, int * np);
gfs_pio_write() writes up to size bytes to the file gf from the buffer
starting at buffer. It returns the number of bytes written to the
address pointed by np.
NULL The function terminated successfully.
Insufficient memory was available.
Others An error except the above occurred. The reason is shown by its
gfs_pio_create(3), gfs_pio_flush(3), gfs_pio_open(3)