aboutsummaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-20 02:12:30 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-20 02:12:30 +0100
commit5a98619165d29a802c099b7ee8b8e8434992e160 (patch)
tree2827be2c2293e92cde8d87b0e091ba4b7b726ca0 /include/unistd.h
parentmore etymology (diff)
downloadslibc-5a98619165d29a802c099b7ee8b8e8434992e160.tar.gz
slibc-5a98619165d29a802c099b7ee8b8e8434992e160.tar.bz2
slibc-5a98619165d29a802c099b7ee8b8e8434992e160.tar.xz
more etymology
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index f259d5f..87f2c64 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -45,18 +45,24 @@
/**
* The file descriptor for stdin.
* The file with input.
+ *
+ * @etymology (St)andar(d) (in)put (file)descriptor (number).
*/
#define STDIN_FILENO 0
/**
* The file descriptor for stdout.
* The file for output.
+ *
+ * @etymology (St)andar(d) (out)put (file)descriptor (number).
*/
#define STDOUT_FILENO 1
/**
* The file descriptor for stderr.
* The file for error messages and warnings.
+ *
+ * @etymology (St)andar(d) (err)or output (file)descriptor (number).
*/
#define STDERR_FILENO 2
@@ -88,6 +94,8 @@
* POSIX.1-2001. It is however fundamental in
* implementing a fast `malloc`-implementation.
*
+ * @etymology Set (br)ea(k).
+ *
* @param address The process's new high end of its data segment.
* If lower than the current low end, nothing will
* happen and the function will return with a success
@@ -123,6 +131,8 @@ int brk(void*) /* TODO implement brk */
* POSIX.1-2001. It is however fundamental in
* implementing a fast `malloc`-implementation.
*
+ * @etymology Shift (br)ea(k).
+ *
* @param delta The incremant of the size of the data segment,
* zero means that the high end shall not be moved
* (thus the current high end is returned,) a