1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-14 02:32:32 +03:00
Files
glibc/sysdeps/unix/bsd/getpt.c
Samuel Thibault aa11ab9953 Rearrange bsd_getpt vs bsd_openpt and implement posix_openpt on BSD
* sysdeps/unix/bsd/getpt.c (__getpt): Add oflag parameter, pass
it to the _open call and rename to...
(__bsd_openpt): ... new function.
(__getpt): Reimplement on top of __bsd_openpt.
(__posix_openpt): Replace stub with implementation on top of __bsd_openpt.
(posix_openpt): Remove stub warning.
2020-11-07 21:25:37 +01:00

2.1 KiB