diff options
author | rillig <rillig> | 2008-01-19 23:00:49 +0000 |
---|---|---|
committer | rillig <rillig> | 2008-01-19 23:00:49 +0000 |
commit | bf2f38dfd5d7d37f2208164c7afaf688c35f776b (patch) | |
tree | 82d3ea4fbabecc2a62e7e814ea91030dad6bfbfc /mk | |
parent | bd708c54a66225ad4c0d57de856ddc83069fbff8 (diff) | |
download | pkgsrc-bf2f38dfd5d7d37f2208164c7afaf688c35f776b.tar.gz |
Explained the evolution of mount(2) in NetBSD and how to deal with it.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/help/c-functions.help | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/mk/help/c-functions.help b/mk/help/c-functions.help index dcd1f9b90b9..a0827e042b4 100644 --- a/mk/help/c-functions.help +++ b/mk/help/c-functions.help @@ -1,7 +1,5 @@ -# $NetBSD: c-functions.help,v 1.1 2008/01/19 22:37:47 rillig Exp $ +# $NetBSD: c-functions.help,v 1.2 2008/01/19 23:00:49 rillig Exp $ -# mremap -# # The mremap function is not covered by POSIX, so operating systems are # free to define the function as they want: # @@ -10,3 +8,16 @@ # Linux: void *mremap(void *old_address, size_t old_size, # size_t new_size, unsigned long flags); # +# Keywords: mremap + +# The mount function is probably different on all operating systems. For +# some operating systems, it even changes between releases: +# +# NetBSD < 4.99.24: int mount(const char *type, const char *dir, +# int flags, void *data); +# NetBSD >= 4.99.24: int mount(const char *type, const char *dir, +# int flags, void *data, size_t data_len); +# +# See net/coda/patches/patch-ac 1.3 for an example. +# +# Keywords: mount |