libc
libc copied to clipboard
Cygwin: Add PTY and group API
Description
Some methods required by nix crate.
Sources
- https://github.com/cygwin/cygwin/blob/a3863bfeb73f3c3832038685498c7c4148a06890/winsup/cygwin/include/pty.h#L11-L14
- https://github.com/cygwin/cygwin/blob/a3863bfeb73f3c3832038685498c7c4148a06890/winsup/cygwin/include/cygwin/grp.h#L19
- https://github.com/cygwin/cygwin/blob/a3863bfeb73f3c3832038685498c7c4148a06890/newlib/libc/include/grp.h#L67-L78
Checklist
- [ ] Relevant tests in
libc-test/semverhave been updated - [x] No placeholder or unstable values like
*LASTor*MAXare included (see #3131) - [x] Tested locally (
cd libc-test && cargo test --target mytarget); especially relevant for platforms that may not be checked in CI