3 <chapter id="functions">
4 <title>C/C++: functions</title>
6 <para>This chapter contains the requirements for using certain functions
7 in C and C++ code.</para>
10 <title>Functions on various platforms</title>
13 <entry>Function name</entry>
14 <entry>Platform</entry>
15 <entry>Library</entry>
16 <entry>Headers</entry>
17 <entry>Feature test macros</entry>
23 <entry>NetBSD-*-*</entry>
25 <entry>unistd.h</entry>
26 <entry>_POSIX_C_SOURCE >= 2 || _XOPEN_SOURCE >= 4 || defined(_NETBSD_SOURCE)</entry>
30 <entry>SunOS-5.10-*</entry>
32 <entry>unistd.h</entry>
33 <entry>(_XOPEN_SOURCE && _XOPEN_VERSION == 4) || __EXTENSIONS__</entry>