blob: 6b34063f83e65c7c1886016bc174ab40545fc2f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- libs/m3core/src/unix/freebsd-4.alpha/Unix.i3 Sat Mar 23 04:28:45 2002
+++ libs/m3core/src/unix/freebsd-4.alpha/Unix.i3 Mon Apr 17 13:03:44 2006
@@ -128,7 +128,7 @@
F_GETFL = 3; (* Get fd status flags *)
F_SETFL = 4; (* Set fd status flags *)
- (* in these three cases, you need to pass LOOPHOLE (ADR (v), int)
+ (* in these three cases, you need to pass LOOPHOLE (ADR (v), long)
for arg, where v is a variable of type struct_flock *)
F_GETOWN = 5; (* Set owner *)
F_SETOWN = 6; (* Get owner *)
@@ -155,7 +155,7 @@
F_WRLCK = 3; (* Write lock *)
F_UNLCK = 2; (* Remove lock(s) *)
-<*EXTERNAL*> PROCEDURE fcntl (fd, request, arg: int): int;
+<*EXTERNAL*> PROCEDURE fcntl (fd, request: int; arg: long): int;
(* ok *)
(*** flock - apply or remove an advisory lock on an open file ***)
|