From 89fcd19c0b34164cfab4a97352cfab81e0aa5e0c Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 9 May 2010 17:12:30 +0200 Subject: [PATCH 1/1] Add doxygen comments for rfds parameters. --- audiod_command.c | 1 + fd.c | 1 + 2 files changed, 2 insertions(+) diff --git a/audiod_command.c b/audiod_command.c index f9349a1d..ce1aff68 100644 --- a/audiod_command.c +++ b/audiod_command.c @@ -424,6 +424,7 @@ static int check_perms(uid_t uid) * Handle arriving connections on the local socket. * * \param accept_fd The fd to accept connections on. + * \param rfds If \a accept_fd is not set in \a rfds, do nothing. * * This is called in each iteration of the select loop. If there is an incoming * connection on \a accept_fd, this function reads the command sent by the peer, diff --git a/fd.c b/fd.c index bdba2765..7336bd51 100644 --- a/fd.c +++ b/fd.c @@ -183,6 +183,7 @@ int read_nonblock(int fd, void *buf, size_t sz, fd_set *rfds, size_t *num_bytes) * \param fd The file descriptor to receive from. * \param pattern The expected pattern. * \param bufsize The size of the internal buffer. + * \param rfds Passed to read_nonblock(). * * This function tries to read at most \a bufsize bytes from the non-blocking * file descriptor \a fd. If at least \p strlen(\a pattern) bytes have been -- 2.39.2