From: Ross Lagerwall Date: Sun, 20 Jul 2014 07:18:06 +0000 (+0100) Subject: libnfs.h: Update open() flags docs X-Git-Tag: upstream/1.9.6^2~17^2 X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=commitdiff_plain;h=00b29d10cb4dce20724c55f5e7e31a019070b264;hp=ece11036ff6894f7c7d447e7a3d64c0cd49d9aa2 libnfs.h: Update open() flags docs Signed-off-by: Ross Lagerwall --- diff --git a/include/nfsc/libnfs.h b/include/nfsc/libnfs.h index 8ac6b94..d3ce1aa 100644 --- a/include/nfsc/libnfs.h +++ b/include/nfsc/libnfs.h @@ -330,7 +330,7 @@ EXTERN int nfs_fstat(struct nfs_context *nfs, struct nfsfh *nfsfh, struct stat * * Async open() * * mode is a combination of the flags : - * O_RDOLNY, O_WRONLY, O_RDWR , O_SYNC, O_APPEND + * O_RDOLNY, O_WRONLY, O_RDWR , O_SYNC, O_APPEND, O_TRUNC * * Function returns * 0 : The operation was initiated. Once the operation finishes, the callback will be invoked. @@ -341,6 +341,7 @@ EXTERN int nfs_fstat(struct nfs_context *nfs, struct nfsfh *nfsfh, struct stat * * O_RDONLY * O_WRONLY * O_RDWR + * O_SYNC * O_TRUNC (Only valid with O_RDWR or O_WRONLY. Ignored otherwise.) * * When the callback is invoked, status indicates the result: