poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / getline.texi
blob6ea6e0e36250ebccc01538d61ccace03f0641345
1 @node getline
2 @section @code{getline}
3 @findex getline
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/getline.html}
7 Gnulib module: getline
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, mingw, MSVC 14, Android 4.2.
14 @item
15 This function is missing a declaration on some platforms:
16 AIX 7.1.
17 @item
18 Some platforms provide a function by this name but with the wrong
19 signature, for example in -linet.
20 @item
21 This function crashes when passed a pointer to a NULL buffer together with a
22 pointer to a non-zero buffer size on some platforms:
23 FreeBSD 8.0.
24 @end itemize
26 Portability problems not fixed by Gnulib:
27 @itemize
28 @item
29 This function has quadratic running time for long lines on some platforms:
30 uClibc 0.9.31.
31 @end itemize