Browse Source

Implement fdatasync() as a wrapper around fsync()

ok guenther, deraadt, jmc
OPENBSD_5_4
matthew 11 years ago
parent
commit
95264d79f4
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/include/unistd.h

+ 4
- 1
src/include/unistd.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: unistd.h,v 1.76 2013/04/11 03:09:16 guenther Exp $ */
/* $OpenBSD: unistd.h,v 1.77 2013/04/15 16:38:21 matthew Exp $ */
/* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */
/*-
@ -403,6 +403,9 @@ int ftruncate(int, off_t);
int getlogin_r(char *, size_t)
__attribute__((__bounded__(__string__,1,2)));
#endif
#if __POSIX_VISIBLE >= 199506
int fdatasync(int);
#endif
#if __XPG_VISIBLE || __BSD_VISIBLE
char *crypt(const char *, const char *);


Loading…
Cancel
Save