xref: /openbsd-src/lib/libc/gen/fdatasync.c (revision 46035553bfdd96e63c94e32da0210227ec2e3cf1)
1 /*	$OpenBSD: fdatasync.c,v 1.1 2013/04/15 16:38:21 matthew Exp $ */
2 /*
3  * Written by Matthew Dempsky, 2013.
4  * Public domain.
5  */
6 
7 #include <unistd.h>
8 
9 int
10 fdatasync(int fd)
11 {
12 	return (fsync(fd));
13 }
14