diff options
author | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2017-08-04 14:24:24 +0000 |
---|---|---|
committer | Mariusz Zaborski <oshogbo@FreeBSD.org> | 2017-08-04 14:24:24 +0000 |
commit | 6dc9032c654984992ef940fc975e99066897442d (patch) | |
tree | 798a59f4c95c26e12295746a4310a0e5be1d3378 /libutil/libutil.h | |
parent | f9c75a7f5875ba6275cdaad7bd424f1b376e88ae (diff) | |
download | pw-darwin-6dc9032c654984992ef940fc975e99066897442d.tar.gz pw-darwin-6dc9032c654984992ef940fc975e99066897442d.tar.zst pw-darwin-6dc9032c654984992ef940fc975e99066897442d.zip |
Introduce the flopenat(3) function.
Reviewed by: des, emaste
Differential Revision: https://reviews.freebsd.org/D11690
Diffstat (limited to 'libutil/libutil.h')
-rw-r--r-- | libutil/libutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h index b20ffa2..fa924db 100644 --- a/libutil/libutil.h +++ b/libutil/libutil.h @@ -93,6 +93,7 @@ int expand_number(const char *_buf, uint64_t *_num); int extattr_namespace_to_string(int _attrnamespace, char **_string); int extattr_string_to_namespace(const char *_string, int *_attrnamespace); int flopen(const char *_path, int _flags, ...); +int flopenat(int _dirfd, const char *_path, int _flags, ...); int forkpty(int *_amaster, char *_name, struct termios *_termp, struct winsize *_winp); void hexdump(const void *_ptr, int _length, const char *_hdr, int _flags); |