.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "GFS_PIO_SYNC" "3" "01 June 2005" "Gfarm" "" .SH NAME gfs_pio_sync \- output a file's data on memroy to disk .SH SYNOPSIS .sp \fB#include .sp char *gfs_pio_sync (GFS_File \fIgf\fB); \fR .SH "DESCRIPTION" .PP The function \fBgfs_pio_sync\fR copies data on memory of the \fIgf\fR, and waits for the I/O to complete before returning. It also updates metadtata stat information, while another function \fBgfs_pio_datasync\fR does not update the metadata. .SH "RETURN VALUES" .TP \fBNULL\fR The function terminated successfully. .TP \fBGFARM_ERR_NO_MEMORY\fR Insufficient memory was available. .TP \fBOthers\fR An error except the above occurred. The reason is shown by its pointed strings. .SH "SEE ALSO" .PP \fBgfs_pio_datasync\fR(3), \fBgfs_pio_create\fR(3), \fBgfs_pio_open\fR(3), \fBgfs_pio_write\fR(3), \fBgfs_pio_flush\fR(3)