Searched hist:100146 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.2-release/lib/libc/gen/ | ||
H A D | confstr.c | diff 100146 Mon Jul 15 21:51:19 MDT 2002 wollman All of the things that confstr() returns are compile-time constants. It's silly to call sysctl() to get the value of _PATH_STDPATH from <paths.h> when we can just use it directly. This greatly simplifies the implementation. (This is also part of my grand scheme to get rid of sysctl's `user' category, which should never have been created.) Use strlcpy() instead of strncpy() as it has the exact semantics we want. |
Completed in 45 milliseconds