Loading posix/packages.lisp +4 −0 Original line number Diff line number Diff line Loading @@ -208,6 +208,7 @@ ;; Platform-specific Functions #+linux #:fdatasync #+linux #:mremap ;; Constants Loading Loading @@ -237,6 +238,9 @@ #:map-anon #:map-hassemaphore #:map-inherit #:map-nocore #:map-nosync #:map-stack #+linux #:mremap-maymove #+linux #:mremap-fixed #:ms-async #:ms-sync #:ms-invalidate #:mcl-current #:mcl-future Loading posix/unixint.lisp +6 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,12 @@ (constant (map-nosync "MAP_NOSYNC")) (constant (map-stack "MAP_STACK"))) ;;; mremap() #+linux (progn (constant (mremap-maymove "MREMAP_MAYMOVE")) (constant (mremap-fixed "MREMAP_FIXED"))) ;;; msync() (constant (ms-async "MS_ASYNC") :documentation "msync: return immediately") (constant (ms-sync "MS_SYNC") Loading posix/wrappers.lisp +8 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ (define "_LARGEFILE_SOURCE") (define "_LARGEFILE64_SOURCE") (define "_FILE_OFFSET_BITS" 64) (define "_GNU_SOURCE") (c "#endif") (include "string.h" "errno.h" "sys/types.h" "sys/stat.h" Loading Loading @@ -66,6 +67,13 @@ (fd ("int" file-descriptor-designator)) (offset ("off_t" off))) #+linux (defwrapper "mremap" ("void*" (errno-wrapper :pointer)) (old-address :pointer) (old-size ("size_t" size)) (new-size ("size_t" size)) (flags :int)) (defwrapper ("stat" %stat) ("int" (errno-wrapper :int)) (file-name ("const char*" filename-designator)) (buf ("struct stat*" :pointer))) Loading Loading
posix/packages.lisp +4 −0 Original line number Diff line number Diff line Loading @@ -208,6 +208,7 @@ ;; Platform-specific Functions #+linux #:fdatasync #+linux #:mremap ;; Constants Loading Loading @@ -237,6 +238,9 @@ #:map-anon #:map-hassemaphore #:map-inherit #:map-nocore #:map-nosync #:map-stack #+linux #:mremap-maymove #+linux #:mremap-fixed #:ms-async #:ms-sync #:ms-invalidate #:mcl-current #:mcl-future Loading
posix/unixint.lisp +6 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,12 @@ (constant (map-nosync "MAP_NOSYNC")) (constant (map-stack "MAP_STACK"))) ;;; mremap() #+linux (progn (constant (mremap-maymove "MREMAP_MAYMOVE")) (constant (mremap-fixed "MREMAP_FIXED"))) ;;; msync() (constant (ms-async "MS_ASYNC") :documentation "msync: return immediately") (constant (ms-sync "MS_SYNC") Loading
posix/wrappers.lisp +8 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ (define "_LARGEFILE_SOURCE") (define "_LARGEFILE64_SOURCE") (define "_FILE_OFFSET_BITS" 64) (define "_GNU_SOURCE") (c "#endif") (include "string.h" "errno.h" "sys/types.h" "sys/stat.h" Loading Loading @@ -66,6 +67,13 @@ (fd ("int" file-descriptor-designator)) (offset ("off_t" off))) #+linux (defwrapper "mremap" ("void*" (errno-wrapper :pointer)) (old-address :pointer) (old-size ("size_t" size)) (new-size ("size_t" size)) (flags :int)) (defwrapper ("stat" %stat) ("int" (errno-wrapper :int)) (file-name ("const char*" filename-designator)) (buf ("struct stat*" :pointer))) Loading