mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-15 15:16:53 +02:00
Add flopenat() function from FreeBSD
This commit is contained in:
@@ -62,6 +62,7 @@ int humanize_number(char *buf, size_t len, int64_t bytes,
|
||||
int expand_number(const char *_buf, uint64_t *_num);
|
||||
|
||||
int flopen(const char *_path, int _flags, ...);
|
||||
int flopenat(int dirfd, const char *path, int flags, ...);
|
||||
|
||||
struct pidfh *pidfile_open(const char *path, mode_t mode, pid_t *pidptr);
|
||||
int pidfile_write(struct pidfh *pfh);
|
||||
|
Reference in New Issue
Block a user