repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for O_TRUNC with nfs_open()
[deb_libnfs.git]
/
include
/
nfsc
/
libnfs.h
diff --git
a/include/nfsc/libnfs.h
b/include/nfsc/libnfs.h
index b9138c9066409ea3fab16053a4ebca4c9a2d793d..0504a6aac4e13b789deae2b93b536a0fa822ea4f 100644
(file)
--- a/
include/nfsc/libnfs.h
+++ b/
include/nfsc/libnfs.h
@@
-276,6
+276,7
@@
EXTERN int nfs_fstat(struct nfs_context *nfs, struct nfsfh *nfsfh, struct stat *
* O_RDONLY
* O_WRONLY
* O_RDWR
+ * O_TRUNC (Only valid with O_RDWR or O_WRONLY. Ignored otherwise.)
*
* When the callback is invoked, status indicates the result:
* 0 : Success.