poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / trunc.texi
blob23dd141014d0dbbd37d4b422fd0ebf00cf7baae8
1 @node trunc
2 @section @code{trunc}
3 @findex trunc
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/trunc.html}
7 Gnulib module: trunc or trunc-ieee
9 Portability problems fixed by either Gnulib module @code{trunc} or @code{trunc-ieee}:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 FreeBSD 5.2.1, NetBSD 3.0, OpenBSD 3.8, Solaris 9, MSVC 9.
14 @item
15 This function is not declared (without @code{-D_GNU_SOURCE}) on some platforms:
16 glibc 2.8.
17 @end itemize
19 Portability problems fixed by Gnulib module @code{trunc-ieee}:
20 @itemize
21 @end itemize
23 Portability problems not fixed by Gnulib:
24 @itemize
25 @end itemize