regex.m4: correct the reversed range endpoint ([b-a]) test
[gnulib.git] / doc / glibc-functions / openpty.texi
1 @node openpty
2 @subsection @code{openpty}
3 @findex openpty
4
5 Gnulib module: openpty
6
7 Portability problems fixed by Gnulib:
8 @itemize
9 @item
10 One some systems (at least including Cygwin, Interix, OSF/1 4 and 5,
11 and Mac OS X) linking with @code{-lutil} is not required.
12 @item
13 On glibc, OpenBSD, NetBSD and FreeBSD linking with @code{-lutil} is
14 required.
15 @item
16 The function is declared in pty.h on Cygwin, Interix, OSF/1 4 and 5,
17 and glibc.  It is declared in util.h on Mac OS X, OpenBSD and NetBSD.
18 It is declared in libutil.h on FreeBSD.
19 @item
20 Some platforms declare the function without marking the last two
21 parameters @code{const}.
22 FreeBSD, Cygwin 1.7.1.
23 @end itemize
24
25 Portability problems not fixed by Gnulib:
26 @itemize
27 @item
28 On some systems (at least including Solaris and HP-UX) the function is
29 missing.
30 @end itemize