summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
60d8c72)
SCCS-vsn: lib/libc/gen/confstr.c 5.2
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)confstr.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)confstr.c 5.2 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <errno.h>
#endif /* LIBC_SCCS and not lint */
#include <errno.h>
switch (name) {
case _CS_PATH:
if (len != 0 && buf != NULL) {
switch (name) {
case _CS_PATH:
if (len != 0 && buf != NULL) {
- (void)strncpy(buf, _PATH_DEFPATH, len - 1);
+ (void)strncpy(buf, _PATH_STDPATH, len - 1);
- return (sizeof(_PATH_DEFPATH));
+ return (sizeof(_PATH_STDPATH));
default:
errno = EINVAL;
return (0);
default:
errno = EINVAL;
return (0);