repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #89 from rosslagerwall/create-trunc
[deb_libnfs.git]
/
include
/
nfsc
/
libnfs.h
diff --git
a/include/nfsc/libnfs.h
b/include/nfsc/libnfs.h
index ff0d4e4ad4b4bcdfae7f38a9c502e0389faa7e3a..d3ce1aa4801366545cdd376c4742cc1c0e3f43d5 100644
(file)
--- 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(<filename>)
*
* mode is a combination of the flags :
* Async open(<filename>)
*
* 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.
*
* 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_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:
* O_TRUNC (Only valid with O_RDWR or O_WRONLY. Ignored otherwise.)
*
* When the callback is invoked, status indicates the result:
@@
-689,6
+690,7
@@
EXTERN int nfs_creat(struct nfs_context *nfs, const char *path, int mode, struct
* O_APPEND
* O_SYNC
* O_EXCL
* O_APPEND
* O_SYNC
* O_EXCL
+ * O_TRUNC
*
* Function returns
* 0 : The operation was initiated. Once the operation finishes, the callback will be invoked.
*
* Function returns
* 0 : The operation was initiated. Once the operation finishes, the callback will be invoked.