aboutsummaryrefslogtreecommitdiffstats
path: root/src/inttypes
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-16 16:34:15 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-16 16:34:15 +0100
commit169e56f2285860b058199c7480083740fc309b9b (patch)
tree913aee343cf4b555a9a476e82c9a6c12066745fa /src/inttypes
parentadd interspacing parameter to humansize (diff)
downloadslibc-169e56f2285860b058199c7480083740fc309b9b.tar.gz
slibc-169e56f2285860b058199c7480083740fc309b9b.tar.bz2
slibc-169e56f2285860b058199c7480083740fc309b9b.tar.xz
doc: arg 2 for *div must not be 0 (lest SIGFPE)
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/inttypes/div.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inttypes/div.c b/src/inttypes/div.c
index e0330ec..95b6410 100644
--- a/src/inttypes/div.c
+++ b/src/inttypes/div.c
@@ -27,7 +27,8 @@
* both the quotient and the remainder.
*
* @param numerator The numerator.
- * @param denominator The denominator.
+ * @param denominator The denominator, must not be 0 lest
+ * the process will be killed by SIGFPE.
* @return The quotient in `.quot`, and
* the remainder in `.rem`.
*/