diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-16 16:34:15 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-16 16:34:15 +0100 |
commit | 169e56f2285860b058199c7480083740fc309b9b (patch) | |
tree | 913aee343cf4b555a9a476e82c9a6c12066745fa /include | |
parent | add interspacing parameter to humansize (diff) | |
download | slibc-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-- | include/inttypes.h | 3 | ||||
-rw-r--r-- | include/stdlib.h | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/include/inttypes.h b/include/inttypes.h index 3bae82a..9463412 100644 --- a/include/inttypes.h +++ b/include/inttypes.h @@ -38,7 +38,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`. */ diff --git a/include/stdlib.h b/include/stdlib.h index cfdd0a7..fe0c5f7 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -61,7 +61,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`. */ @@ -73,7 +74,8 @@ div_t div(int, int) * 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`. */ @@ -85,7 +87,8 @@ ldiv_t ldiv(long, long) * 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`. */ |