pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/help Explained the evolution of mount(2) in NetBSD ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02dc4c8dba97
branches:  trunk
changeset: 537890:02dc4c8dba97
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 19 23:00:49 2008 +0000

description:
Explained the evolution of mount(2) in NetBSD and how to deal with it.

diffstat:

 mk/help/c-functions.help |  17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 5e81c7960d09 -r 02dc4c8dba97 mk/help/c-functions.help
--- a/mk/help/c-functions.help  Sat Jan 19 22:41:47 2008 +0000
+++ b/mk/help/c-functions.help  Sat Jan 19 23:00:49 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index