Home | History | Annotate | Download | only in ftp

Lines Matching refs:netrc

209 	netrc[0] = '\0';
210 cp = getenv("NETRC");
211 if (cp != NULL && strlcpy(netrc, cp, sizeof(netrc)) >= sizeof(netrc))
212 errx(1, "$NETRC `%s': %s", cp, strerror(ENAMETOOLONG));
333 if (strlcpy(netrc, optarg, sizeof(netrc))
334 >= sizeof(netrc))
496 if (netrc[0] == '\0' && localhome != NULL) {
497 if (strlcpy(netrc, localhome, sizeof(netrc)) >= sizeof(netrc) ||
498 strlcat(netrc, "/.netrc", sizeof(netrc)) >= sizeof(netrc)) {
499 warnx("%s/.netrc: %s", localhome,
501 netrc[0] = '\0';
1083 "usage: %s [-46AadefginpRtVv] [-b BUFSIZE] [-H HEADER] [-N NETRC] [-o OUTPUT]\n"
1118 " -N NETRC Use NETRC instead of ~/.netrc\n"