summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2008-01-19 22:37:47 +0000
committerrillig <rillig>2008-01-19 22:37:47 +0000
commit4e470ee24bb8eb1ebf82aaf0335aaadb71600650 (patch)
treeda52f431d60b1acf30220514e0bb35e8694cafa2 /mk
parentbe0fcc2022c39e9d0b43e249787d7fd308012ce5 (diff)
downloadpkgsrc-4e470ee24bb8eb1ebf82aaf0335aaadb71600650.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')
-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);
+#