Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libc/sys/fsync.2
Show All 28 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)fsync.2 8.1 (Berkeley) 6/4/93 | .\" @(#)fsync.2 8.1 (Berkeley) 6/4/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd February 6, 2018 | .Dd March 30, 2020 | ||||
.Dt FSYNC 2 | .Dt FSYNC 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm fdatasync , | .Nm fdatasync , | ||||
.Nm fsync | .Nm fsync | ||||
.Nd "synchronise changes to a file" | .Nd "synchronise changes to a file" | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
▲ Show 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
is not a valid descriptor. | is not a valid descriptor. | ||||
.It Bq Er EINVAL | .It Bq Er EINVAL | ||||
The | The | ||||
.Fa fd | .Fa fd | ||||
argument | argument | ||||
refers to a socket, not to a file. | refers to a socket, not to a file. | ||||
.It Bq Er EIO | .It Bq Er EIO | ||||
An I/O error occurred while reading from or writing to the file system. | An I/O error occurred while reading from or writing to the file system. | ||||
.It Bq Er EINTEGRITY | |||||
Corrupted data was detected while reading from the file system. | |||||
.El | .El | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr fsync 1 , | .Xr fsync 1 , | ||||
.Xr sync 2 , | .Xr sync 2 , | ||||
.Xr syncer 4 , | .Xr syncer 4 , | ||||
.Xr sync 8 | .Xr sync 8 | ||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
Show All 15 Lines |