diff options
Diffstat (limited to 'man2')
| -rw-r--r-- | man2/clock_getres.2 | 4 | ||||
| -rw-r--r-- | man2/clone.2 | 2 | ||||
| -rw-r--r-- | man2/futex.2 | 2 | ||||
| -rw-r--r-- | man2/ioctl_fat.2 | 2 | ||||
| -rw-r--r-- | man2/mkdir.2 | 2 | ||||
| -rw-r--r-- | man2/mknod.2 | 2 | ||||
| -rw-r--r-- | man2/mmap.2 | 2 | ||||
| -rw-r--r-- | man2/open.2 | 2 | ||||
| -rw-r--r-- | man2/statx.2 | 2 | ||||
| -rw-r--r-- | man2/umask.2 | 2 | ||||
| -rw-r--r-- | man2/userfaultfd.2 | 2 |
11 files changed, 12 insertions, 12 deletions
diff --git a/man2/clock_getres.2 b/man2/clock_getres.2 index 9e9ce0f432..83bf9cb231 100644 --- a/man2/clock_getres.2 +++ b/man2/clock_getres.2 @@ -248,8 +248,8 @@ dynamic clock ID. .in +4n .EX #define CLOCKFD 3 -#define FD_TO_CLOCKID(fd) ((~(clockid_t) (fd) << 3) | CLOCKFD) -#define CLOCKID_TO_FD(clk) ((unsigned int) ~((clk) >> 3)) +#define FD_TO_CLOCKID(fd) ((\(ti(clockid_t) (fd) << 3) | CLOCKFD) +#define CLOCKID_TO_FD(clk) ((unsigned int) \(ti((clk) >> 3)) struct timeval tv; clockid_t clkid; diff --git a/man2/clone.2 b/man2/clone.2 index 0f7c0b8984..aa366690fa 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -257,7 +257,7 @@ l l l li li l. clone() clone3() Notes \fIcl_args\fP field -flags & ~0xff flags For most flags; details below +flags & \(ti0xff flags For most flags; details below parent_tid pidfd See CLONE_PIDFD child_tid child_tid See CLONE_CHILD_SETTID parent_tid parent_tid See CLONE_PARENT_SETTID diff --git a/man2/futex.2 b/man2/futex.2 index 47d814225f..d4646a8537 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -662,7 +662,7 @@ component has one of the following values: FUTEX_OP_SET 0 /* uaddr2 = oparg; */ FUTEX_OP_ADD 1 /* uaddr2 += oparg; */ FUTEX_OP_OR 2 /* uaddr2 |= oparg; */ -FUTEX_OP_ANDN 3 /* uaddr2 &= ~oparg; */ +FUTEX_OP_ANDN 3 /* uaddr2 &= \(tioparg; */ FUTEX_OP_XOR 4 /* uaddr2 ^= oparg; */ .EE .in diff --git a/man2/ioctl_fat.2 b/man2/ioctl_fat.2 index 7b1a3ef4ac..ba4a8ff6a1 100644 --- a/man2/ioctl_fat.2 +++ b/man2/ioctl_fat.2 @@ -424,7 +424,7 @@ The following was recorded when applying the program to the directory $ \fB./fat_dir /mnt/user\fP \[char46] -> '' \[char46]. -> '' -ALONGF~1.TXT -> 'a long filename.txt' +ALONGF\(ti1.TXT -> 'a long filename.txt' UPPER.TXT -> '' LOWER.TXT -> 'lower.txt' .EE diff --git a/man2/mkdir.2 b/man2/mkdir.2 index 951f6bd92a..d5fc49f2fd 100644 --- a/man2/mkdir.2 +++ b/man2/mkdir.2 @@ -56,7 +56,7 @@ It is modified by the process's .I umask in the usual way: in the absence of a default ACL, the mode of the created directory is -.RI ( mode " & ~" umask " & 0777)." +.RI ( mode " & \(ti" umask " & 0777)." Whether other .I mode bits are honored for the created directory depends on the operating system. diff --git a/man2/mknod.2 b/man2/mknod.2 index 072a4cb1a5..6917fb62f1 100644 --- a/man2/mknod.2 +++ b/man2/mknod.2 @@ -68,7 +68,7 @@ The file mode is modified by the process's .I umask in the usual way: in the absence of a default ACL, the permissions of the created node are -.RI ( mode " & ~" umask ). +.RI ( mode " & \(ti" umask ). .PP The file type must be one of .BR S_IFREG , diff --git a/man2/mmap.2 b/man2/mmap.2 index 88a16e3e85..af49b75be5 100644 --- a/man2/mmap.2 +++ b/man2/mmap.2 @@ -949,7 +949,7 @@ main(int argc, char *argv[]) handle_error("fstat"); offset = atoi(argv[2]); - pa_offset = offset & ~(sysconf(_SC_PAGE_SIZE) \- 1); + pa_offset = offset & \(ti(sysconf(_SC_PAGE_SIZE) \- 1); /* offset for mmap() must be page aligned */ if (offset >= sb.st_size) { diff --git a/man2/open.2 b/man2/open.2 index f7e4b31971..21ed2db228 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -316,7 +316,7 @@ The effective mode is modified by the process's .I umask in the usual way: in the absence of a default ACL, the mode of the created file is -.IR "(mode\ &\ ~umask)" . +.IR "(mode\ &\ \(tiumask)" . .IP Note that .I mode diff --git a/man2/statx.2 b/man2/statx.2 index 57607f6d81..121fc675a7 100644 --- a/man2/statx.2 +++ b/man2/statx.2 @@ -245,7 +245,7 @@ is an ORed combination of the following constants: .TS lB l. STATX_TYPE Want stx_mode & S_IFMT -STATX_MODE Want stx_mode & ~S_IFMT +STATX_MODE Want stx_mode & \(tiS_IFMT STATX_NLINK Want stx_nlink STATX_UID Want stx_uid STATX_GID Want stx_gid diff --git a/man2/umask.2 b/man2/umask.2 index e74e8ef06b..6c97a05dcf 100644 --- a/man2/umask.2 +++ b/man2/umask.2 @@ -108,7 +108,7 @@ S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH .EE .in .PP -(because 0666 & ~022 = 0644; i.e., rw\-r\-\-r\-\-). +(because 0666 & \(ti022 = 0644; i.e., rw\-r\-\-r\-\-). .SH RETURN VALUE This system call always succeeds and the previous value of the mask is returned. diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2 index 25a32dbf56..fee6d45cc9 100644 --- a/man2/userfaultfd.2 +++ b/man2/userfaultfd.2 @@ -666,7 +666,7 @@ fault_handler_thread(void *arg) So, round faulting address down to page boundary */ uffdio_copy.dst = (unsigned long) msg.arg.pagefault.address & - ~(page_size \- 1); + \(ti(page_size \- 1); uffdio_copy.len = page_size; uffdio_copy.mode = 0; uffdio_copy.copy = 0; |
