Commit b043ade4 authored by Max Kellermann's avatar Max Kellermann

fd_util: fixed typo in API documentation

parent 217b494c
...@@ -33,42 +33,42 @@ ...@@ -33,42 +33,42 @@
struct sockaddr; struct sockaddr;
/** /**
* Wrapper for open(), which sets to CLOEXEC flag (atomically if * Wrapper for open(), which sets the CLOEXEC flag (atomically if
* supported by the OS). * supported by the OS).
*/ */
int int
open_cloexec(const char *path_fs, int flags); open_cloexec(const char *path_fs, int flags);
/** /**
* Wrapper for creat(), which sets to CLOEXEC flag (atomically if * Wrapper for creat(), which sets the CLOEXEC flag (atomically if
* supported by the OS). * supported by the OS).
*/ */
int int
creat_cloexec(const char *path_fs, int mode); creat_cloexec(const char *path_fs, int mode);
/** /**
* Wrapper for pipe(), which sets to CLOEXEC flag (atomically if * Wrapper for pipe(), which sets the CLOEXEC flag (atomically if
* supported by the OS). * supported by the OS).
*/ */
int int
pipe_cloexec(int fd[2]); pipe_cloexec(int fd[2]);
/** /**
* Wrapper for socket(), which sets to CLOEXEC flag (atomically if * Wrapper for socket(), which sets the CLOEXEC flag (atomically if
* supported by the OS). * supported by the OS).
*/ */
int int
socket_cloexec(int domain, int type, int protocol); socket_cloexec(int domain, int type, int protocol);
/** /**
* Wrapper for accept(), which sets to CLOEXEC flag (atomically if * Wrapper for accept(), which sets the CLOEXEC flag (atomically if
* supported by the OS). * supported by the OS).
*/ */
int int
accept_cloexec(int fd, struct sockaddr *address, size_t *address_length_r); accept_cloexec(int fd, struct sockaddr *address, size_t *address_length_r);
/** /**
* Wrapper for inotify_init(), which sets to CLOEXEC flag (atomically * Wrapper for inotify_init(), which sets the CLOEXEC flag (atomically
* if supported by the OS). * if supported by the OS).
*/ */
int int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment