Skip to content
Snippets Groups Projects
Commit 8a9a7ae2 authored by Raymond Toy's avatar Raymond Toy
Browse files

unix-glibc2 needs unix-munmap. prot_read is available for both.

parent 494e09f2
No related branches found
No related tags found
No related merge requests found
......@@ -284,7 +284,9 @@
"FD-CLR"
;; Simple streams
"PROT_READ"
"UNIX-MMAP"
"UNIX-MUNMAP"
"UNIX-MSYNC"
;; Motif
......@@ -313,10 +315,6 @@
;; run-program.lisp
"SGTTYB"
;; Simple streams
"PROT_READ"
"UNIX-MUNMAP"
;; Other symbols from structures, etc.
"C-CC"
"C-CFLAG"
......@@ -672,10 +670,6 @@
;; run-program.lisp
"SGTTYB"
;; Simple streams
"PROT_READ"
"UNIX-MUNMAP"
;; Other symbols
"BLKCNT-T"
"C-CC"
......
......@@ -1036,6 +1036,11 @@
(values nil (unix-errno))
(values result 0))))
(defun unix-munmap (addr length)
(declare (type system-area-pointer addr)
(type (unsigned-byte 32) length))
(syscall ("munmap" system-area-pointer size-t) t addr length))
(defun unix-msync (addr length flags)
(declare (type system-area-pointer addr)
(type (unsigned-byte 32) length)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment