summaryrefslogtreecommitdiffstats
path: root/lib/libc/compat-43/creat.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/compat-43/creat.2')
-rw-r--r--lib/libc/compat-43/creat.26
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/compat-43/creat.2 b/lib/libc/compat-43/creat.2
index dcfa4c5..6f8fc6f 100644
--- a/lib/libc/compat-43/creat.2
+++ b/lib/libc/compat-43/creat.2
@@ -50,7 +50,9 @@ This interface is made obsolete by:
.Ef
.Xr open 2 .
.Pp
-.Fn Creat
+The
+.Fn creat
+function
is the same as:
.Bd -literal -offset indent
open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);
@@ -60,5 +62,5 @@ open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);
.Sh HISTORY
The
.Fn creat
-function call appeared in
+function appeared in
.At v6 .
OpenPOWER on IntegriCloud