]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Add doxygen comments for rfds parameters.
authorAndre Noll <maan@systemlinux.org>
Sun, 9 May 2010 15:12:30 +0000 (17:12 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 9 May 2010 15:12:30 +0000 (17:12 +0200)
audiod_command.c
fd.c

index f9349a1d3068921e67012cab3a9680c601736a02..ce1aff68896461f5fbe78be49f7690ee1d82462a 100644 (file)
@@ -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 bdba2765a0fe3c6be12a9b32679bd79c267c6eb3..7336bd51de6182c8b6899bbca82420db2fd32d08 100644 (file)
--- 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