summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2008-01-19 23:00:49 +0000
committerrillig <rillig@pkgsrc.org>2008-01-19 23:00:49 +0000
commitf6a6d83987b91ae1f60441d545120aa693109ef1 (patch)
tree82d3ea4fbabecc2a62e7e814ea91030dad6bfbfc /mk
parent9eea97260c70176f0be9842c6158e7488f65b6b0 (diff)
downloadpkgsrc-f6a6d83987b91ae1f60441d545120aa693109ef1.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.help17
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