Subject: Prototype for madvise() is missing.
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Jan-Oliver Neumann <jan@encap.Hanse.DE>
List: current-users
Date: 06/26/1994 16:24:17
The prototype for madvise() is missing, i added it to <sys/mmanh> but i
am not sure if the second parameter should be a size_t or plain int.
i decided to go for size_t.
here's the diff:
*** /tmp/mman.h~ Sun Jun 26 16:18:52 1994
--- /tmp/mman.h Sun Jun 26 16:20:09 1994
***************
*** 85,90 ****
--- 85,91 ----
int msync __P((caddr_t, size_t));
int mlock __P((caddr_t, size_t));
int munlock __P((caddr_t, size_t));
+ int madvise __P((caddr_t, size_t, int));
__END_DECLS
#endif /* !KERNEL */
jan
------------------------------------------------------------------------------