#. type: Plain text
#: build/C/man3/realpath.3:224
msgid "The POSIX.1-2001 standard version of this function is broken by design, since it is impossible to determine a suitable size for the output buffer, I<resolved_path>. According to POSIX.1-2001 a buffer of size B<PATH_MAX> suffices, but B<PATH_MAX> need not be a defined constant, and may have to be obtained using B<pathconf>(3). And asking B<pathconf>(3) does not really help, since, on the one hand POSIX warns that the result of B<pathconf>(3) may be huge and unsuitable for mallocing memory, and on the other hand B<pathconf>(3) may return -1 to signify that B<PATH_MAX> is not bounded. The I<resolved_path\\ ==\\ NULL> feature, not standardized in POSIX.1-2001, but standardized in POSIX.1-2008, allows this design problem to be avoided."
#. type: Plain text
#: build/C/man3/realpath.3:224
msgid "The POSIX.1-2001 standard version of this function is broken by design, since it is impossible to determine a suitable size for the output buffer, I<resolved_path>. According to POSIX.1-2001 a buffer of size B<PATH_MAX> suffices, but B<PATH_MAX> need not be a defined constant, and may have to be obtained using B<pathconf>(3). And asking B<pathconf>(3) does not really help, since, on the one hand POSIX warns that the result of B<pathconf>(3) may be huge and unsuitable for mallocing memory, and on the other hand B<pathconf>(3) may return -1 to signify that B<PATH_MAX> is not bounded. The I<resolved_path\\ ==\\ NULL> feature, not standardized in POSIX.1-2001, but standardized in POSIX.1-2008, allows this design problem to be avoided."