summaryrefslogtreecommitdiff
path: root/mk/help
diff options
context:
space:
mode:
authorrillig <rillig>2008-01-19 22:37:47 +0000
committerrillig <rillig>2008-01-19 22:37:47 +0000
commit1149c4ea8ee7e402f8a3b909cebdcd3de9e6d1cf (patch)
treeda52f431d60b1acf30220514e0bb35e8694cafa2 /mk/help
parent5ef0642e77b0ffa5b805746df07224ea02835fb7 (diff)
downloadpkgsrc-1149c4ea8ee7e402f8a3b909cebdcd3de9e6d1cf.tar.gz
Added a file where difficulties using specific C functions can be
documented. The first one is mremap(), since its prototype differs between Linux and NetBSD.
Diffstat (limited to 'mk/help')
-rw-r--r--mk/help/c-functions.help12
1 files changed, 12 insertions, 0 deletions
diff --git a/mk/help/c-functions.help b/mk/help/c-functions.help
new file mode 100644
index 00000000000..dcd1f9b90b9
--- /dev/null
+++ b/mk/help/c-functions.help
@@ -0,0 +1,12 @@
+# $NetBSD: c-functions.help,v 1.1 2008/01/19 22:37:47 rillig Exp $
+
+# mremap
+#
+# The mremap function is not covered by POSIX, so operating systems are
+# free to define the function as they want:
+#
+# NetBSD: void *mremap(void *oldp, size_t oldsize,
+# void *newp, size_t newsize, int flags);
+# Linux: void *mremap(void *old_address, size_t old_size,
+# size_t new_size, unsigned long flags);
+#