NEWS update.
[paraslash.git] / fd.c
diff --git a/fd.c b/fd.c
index 0adab0f2c0732862f03201119f975873211b5c38..abad80a86ce368660c1ed3b88a1c0e088488a422 100644 (file)
--- a/fd.c
+++ b/fd.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -67,7 +67,7 @@ int para_select(int n, fd_set *readfds, fd_set *writefds,
  *
  * \return Standard.
  */
-int mark_fd_blocking(int fd)
+__must_check int mark_fd_blocking(int fd)
 {
        int flags = fcntl(fd, F_GETFL);
        if (flags < 0)
@@ -85,7 +85,7 @@ int mark_fd_blocking(int fd)
  *
  * \return Standard.
  */
-int mark_fd_nonblocking(int fd)
+__must_check int mark_fd_nonblocking(int fd)
 {
        int flags = fcntl(fd, F_GETFL);
        if (flags < 0)
@@ -311,8 +311,7 @@ int para_mkdir(const char *path, mode_t mode)
  * open call is closed after mmap().  Otherwise the file is kept open and the
  * file descriptor is returned in \a fd_ptr.
  *
- * \return Positive on success, negative on errors. Possible errors include: \p
- * E_FSTAT, any errors returned by para_open(), \p E_EMPTY, \p E_MMAP.
+ * \return Standard.
  *
  * \sa para_open(), mmap(2).
  */