X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=include%2Fnfsc%2Flibnfs.h;h=2149b8a8fa8ebe1fffe4cc7700569aae7f8f1c93;hp=df102d92985fd377976429827408f6d9eb732bca;hb=42f916635d2d799c1d3c923a377f40f100c0633c;hpb=3e020c15fd041aea4918103c00c9143a0667c79b diff --git a/include/nfsc/libnfs.h b/include/nfsc/libnfs.h index df102d9..2149b8a 100644 --- a/include/nfsc/libnfs.h +++ b/include/nfsc/libnfs.h @@ -364,7 +364,7 @@ EXTERN int nfs_fstat64(struct nfs_context *nfs, struct nfsfh *nfsfh, struct nfs_ * 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. @@ -375,6 +375,7 @@ EXTERN int nfs_fstat64(struct nfs_context *nfs, struct nfsfh *nfsfh, struct nfs_ * 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: @@ -723,6 +724,7 @@ EXTERN int nfs_creat(struct nfs_context *nfs, const char *path, int mode, struct * O_APPEND * O_SYNC * O_EXCL + * O_TRUNC * * Function returns * 0 : The operation was initiated. Once the operation finishes, the callback will be invoked.