Return to getcwd.c CVS log | Up to [cvs.NetBSD.org] / src / lib / libc / gen |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.24, 2000/01/22 22:19:10 | version 1.24.6.1, 2002/04/25 04:01:41 | ||
---|---|---|---|
|
|
||
* Save the last component name and get the full pathname of | * Save the last component name and get the full pathname of | ||
* the current directory. | * the current directory. | ||
*/ | */ | ||
(void)strncpy(wbuf, p, (sizeof(wbuf) - 1)); | (void)strlcpy(wbuf, p, sizeof(wbuf)); | ||
/* | /* | ||
* Call the inernal internal version of getcwd which | * Call the inernal internal version of getcwd which |