diff options
author | rillig <rillig@pkgsrc.org> | 2008-01-19 22:37:47 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2008-01-19 22:37:47 +0000 |
commit | 99d04d6d77a96bacff15d4c740a1cd7369874a47 (patch) | |
tree | da52f431d60b1acf30220514e0bb35e8694cafa2 /mk | |
parent | 8f6911adbe9e47fcf130e6942c180b54588c1685 (diff) | |
download | pkgsrc-99d04d6d77a96bacff15d4c740a1cd7369874a47.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.help | 12 |
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); +# |