]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
umask.2: S_I* are B
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Mon, 25 Apr 2022 01:03:50 +0000 (03:03 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Mon, 25 Apr 2022 20:55:43 +0000 (22:55 +0200)
This is more consistent with the other pages and, more importantly,
fixes the atrocious "I[S_IWGRP] I[|] I[S_IWOTH]" highlighting in the
first hunk

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man2/umask.2

index d291d413ad912536b56a74d5350f53082fb9f0ff..c8208cfcbc2feadb2040850d5d7e8aafcbcdf406 100644 (file)
@@ -72,7 +72,7 @@ are described in
 .BR inode (7).
 .PP
 The typical default value for the process umask is
-.I S_IWGRP\ |\ S_IWOTH
+.BR S_IWGRP " | " S_IWOTH
 (octal 022).
 In the usual case where the
 .I mode
@@ -82,7 +82,7 @@ is specified as:
 .PP
 .in +4n
 .EX
-S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH
+.BR S_IRUSR " | " S_IWUSR " | " S_IRGRP " | " S_IWGRP " | " S_IROTH " | " S_IWOTH
 .EE
 .in
 .PP
@@ -91,11 +91,11 @@ resulting file will be:
 .PP
 .in +4n
 .EX
-S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH
+.BR S_IRUSR " | " S_IWUSR " | " S_IRGRP " | " S_IROTH
 .EE
 .in
 .PP
-(because 0666 & \(ti022 = 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.