Lines Matching refs:edit
1 /* $OpenBSD: edit.c,v 1.21 2019/06/28 13:35:01 deraadt Exp $ */
2 /* $NetBSD: edit.c,v 1.5 1996/06/08 19:48:20 christos Exp $ */
153 char *edit, tempname[PATHSIZE];
194 edit = value("EDITOR");
195 if (edit == NULL || edit[0] == '\0')
196 edit = _PATH_EX;
198 edit = value("VISUAL");
199 if (edit == NULL || edit[0] == '\0')
200 edit = _PATH_VI;
202 if (editit(edit, tempname) == -1) {