summaryrefslogtreecommitdiff
path: root/mk/help/c-functions.help
blob: a0827e042b41875e0a4cef9932ce5e66494b701f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: c-functions.help,v 1.2 2008/01/19 23:00:49 rillig Exp $

# 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);
#
# 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