Searched refs:editfile (Results 1 - 1 of 1) sorted by relevance

/system/core/sh/
H A Dhistedit.c232 char editfile[MAXPATHLEN + 1]; local
290 editfile[0] = '\0';
297 if (*editfile)
298 unlink(editfile);
377 snprintf(editfile, sizeof(editfile), "%s_shXXXXXX", _PATH_TMP);
378 if ((fd = mkstemp(editfile)) < 0)
379 error("can't create temporary file %s", editfile);
432 editcmd = stalloc(strlen(editor) + strlen(editfile) + 2);
433 sprintf(editcmd, "%s %s", editor, editfile);
[all...]

Completed in 73 milliseconds