Searched refs:opath (Results 1 – 4 of 4) sorted by relevance
/openbsd/usr.sbin/lpd/ |
H A D | lp.c | 853 char ipath[PATH_MAX], opath[PATH_MAX]; in lp_commit() local 856 fullpath(lp, cf, opath, sizeof(opath)) == -1) in lp_commit() 860 opath[strlen(LP_SD(lp)) + 1] = 'c'; in lp_commit() 862 return rename(ipath, opath); in lp_commit()
|
/openbsd/usr.bin/openssl/ |
H A D | apps.c | 1222 char opath[PATH_MAX], npath[PATH_MAX]; in rotate_serial() local 1230 if (snprintf(opath, sizeof opath, "%s.%s", serialfile, in rotate_serial() 1231 old_suffix) >= sizeof opath) { in rotate_serial() 1236 if (rename(serialfile, opath) == -1 && in rotate_serial() 1239 serialfile, opath); in rotate_serial() 1249 if (rename(opath, serialfile) == -1) { in rotate_serial() 1251 opath, serialfile); in rotate_serial()
|
/openbsd/lib/libc/gen/ |
H A D | login_cap.c | 708 char *path = NULL, *opath = NULL, *op, *np; in setuserpath() local 717 if ((len = cgetustr(lc->lc_cap, "path", &opath)) <= 0) in setuserpath() 724 for (op = opath, np = path; *op != '\0'; ) { in setuserpath() 752 free(opath); in setuserpath()
|
/openbsd/usr.sbin/rpki-client/ |
H A D | http.c | 477 http_parse_uri(char *uri, char **ohost, char **oport, char **opath) in http_parse_uri() argument 531 *opath = path; in http_parse_uri()
|