zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

close_range.h (375B) - Raw


      1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
      2 #ifndef _LINUX_CLOSE_RANGE_H
      3 #define _LINUX_CLOSE_RANGE_H
      4 
      5 /* Unshare the file descriptor table before closing file descriptors. */
      6 #define CLOSE_RANGE_UNSHARE	(1U << 1)
      7 
      8 /* Set the FD_CLOEXEC bit instead of closing the file descriptor. */
      9 #define CLOSE_RANGE_CLOEXEC	(1U << 2)
     10 
     11 #endif /* _LINUX_CLOSE_RANGE_H */