Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144300337
D33277.id99607.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
688 B
Referenced Files
None
Subscribers
None
D33277.id99607.diff
View Options
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -53,7 +53,13 @@
.Fa cmd ,
.Fn fcntl
can take an additional third argument
-.Fa "long arg" .
+.Fa arg ,
+which actual type depends on the operation.
+Default type for
+.Fa arg
+is
+.Vt int ,
+unless explicitly noted otherwise.
.Bl -tag -width F_DUP2FD_CLOEXEC
.It Dv F_DUPFD
Return a new descriptor as follows:
@@ -298,6 +304,8 @@
int l_sysid; /* remote system id or zero for local */
};
.Ed
+pointer to which is passed as the third argument
+.Fa arg .
The commands available for advisory record locking are as follows:
.Bl -tag -width F_SETLKWX
.It Dv F_GETLK
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 5:39 PM (1 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28479784
Default Alt Text
D33277.id99607.diff (688 B)
Attached To
Mode
D33277: fcntl(2): add F_KINFO operation
Attached
Detach File
Event Timeline
Log In to Comment