F_GETFL and test case from Helmut Eller for sb-posix
(:integer f-dupfd "F_DUPFD")
(:integer f-getfd "F_GETFD")
(:integer f-setfd "F_SETFD")
+ (:integer f-getfl "F_GETFL")
(:integer f-setfl "F_SETFL")
(:integer f-getlk "F_GETLK")
(:integer f-setlk "F_SETLK")
(sb-posix:syscall-error (c)
(sb-posix:syscall-errno c)))
#.sb-posix::eisdir)
+
+(deftest fcntl.1
+ (let ((fd (sb-posix:open "/dev/null" sb-posix::o-nonblock)))
+ (= (sb-posix:fcntl fd sb-posix::f-getfl) sb-posix::o-nonblock))
+ t)
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.8.7.38"
+"0.8.7.39"