Files
swift-system/Sources/CSystem/include/CSystemShared.h
T
Jake Petroules 348b497836 Add overloads to cover dup3 and pipe2 POSIX APIs
This follows the existing pattern of wrapping dup/dup2 and pipe with FileDescriptor.duplicate and FileDescriptor.pipe, with additional overloads for passing the O_CLOEXEC and similar flags.
2026-05-20 09:58:46 -07:00

3 lines
123 B
C

extern int csystem_posix_pipe2(int fildes[2], int flag);
extern int csystem_posix_dup3(int fildes, int fildes2, int flag);