From 611d126f9917aa672bbcb1576946d4c99c24d84e Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 26 Feb 2018 13:56:36 -0500 Subject: [PATCH] Add missing "flags" parameter documentation to the safe_open() functions. --- src/libadacl.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libadacl.c b/src/libadacl.c index 8e36230..d4e99aa 100644 --- a/src/libadacl.c +++ b/src/libadacl.c @@ -46,6 +46,9 @@ * @param pathname * The path to the file/directory/whatever whose descriptor you want. * + * @param flags + * File status flags to be passed to @c openat. + * * @return a file descriptor for @c pathname if everything goes well, * and @c OPEN_ERROR if not. */ @@ -106,6 +109,9 @@ int safe_open_ex(int at_fd, char* pathname, int flags) { * @param pathname * The path to the file/directory/whatever whose descriptor you want. * + * @param flags + * File status flags to be passed to @c openat. + * * @return a file descriptor for @c pathname if everything goes well, * and @c OPEN_ERROR if not. */ -- 2.44.2