pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/help Added a file where difficulties using specific...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62b4911f9459
branches:  trunk
changeset: 537888:62b4911f9459
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 19 22:37:47 2008 +0000

description:
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:

 mk/help/c-functions.help |  12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 849a38f360bd -r 62b4911f9459 mk/help/c-functions.help
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mk/help/c-functions.help  Sat Jan 19 22:37:47 2008 +0000
@@ -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);
+#



Home | Main Index | Thread Index | Old Index