X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-posix%2Fconstants.lisp;h=271baf65236fd3258ac47972c5e289bb272babd8;hb=6bbc22725d3bf663726ed9adca544e39316364a6;hp=0243a850fb447963e2ff27ce2e51592a9d63591d;hpb=3db2b1ac1449decbce23353d210033c740dfd888;p=sbcl.git diff --git a/contrib/sb-posix/constants.lisp b/contrib/sb-posix/constants.lisp index 0243a85..271baf6 100644 --- a/contrib/sb-posix/constants.lisp +++ b/contrib/sb-posix/constants.lisp @@ -358,6 +358,17 @@ (:integer f-setlkw "F_SETLKW" nil t) (:integer f-getown "F_GETOWN" nil t) (:integer f-setown "F_SETOWN" nil t) + (:integer f-rdlck "F_RDLCK" nil t) + (:integer f-wrlck "F_WRLCK" nil t) + (:integer f-unlck "F_UNLCK" nil t) + + (:structure alien-flock + ("struct flock" + (short type "short" "l_type") + (short whence "short" "l_whence") + (off-t start "off_t" "l_start") + (off-t len "off_t" "l_len") + (pid-t pid "pid_t" "l_pid"))) ;; lockf() (:integer f-lock "F_LOCK" nil t)