Lines Matching defs:editor
48 * Password file editor with locking.
69 char *editor;
80 editor = getenv("VISUAL");
81 if (editor == 0)
82 editor = getenv("EDITOR");
83 if (editor == 0)
84 editor = DEFAULT_EDITOR;
104 if (editfile(editor, ptemp, passwd, &n_mtime)) {
149 if (editfile(editor, stemp, shadow, &o_mtime))
226 editfile(char *editor, char *temp, char *orig, time_t *mtime)
228 (void)sprintf(buf, "%s %s", editor, temp);