]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/getumask.3
ffix
[thirdparty/man-pages.git] / man3 / getumask.3
index 685a13393ef3595d8d4da5a106819e1488b7e403..86b63e6952439ac272f4601a35cca8403a871c60 100644 (file)
@@ -35,15 +35,18 @@ getumask \- get file creation mask
 .SH DESCRIPTION
 This function returns the current file creation mask.
 It is equivalent to
-.RS
+.in +0.5i
 .nf
-mode_t getumask(void) {
-       mode_t mask = umask(0);
-       umask(mask);
-       return mask;
+
+mode_t getumask(void) 
+{
+    mode_t mask = umask(0);
+    umask(mask);
+    return mask;
 }
+
 .fi
-.RE
+.in -0.5i
 except that it is documented to be thread-safe (that is, shares
 a lock with the
 .BR umask ()