Home
last modified time | relevance | path

Searched refs:HIST_UNDO (Results 1 – 2 of 2) sorted by relevance

/titanic_51/usr/src/lib/libshell/common/edit/
H A Dhistory.c47 #define HIST_UNDO 0201 /* invalidate previous command */ macro
213 static const unsigned char hist_stamp[2] = { HIST_UNDO, HIST_VERSION };
441 if((read(fd,(char*)magic,2)!=2) || (magic[0]!=HIST_UNDO)) in hist_check()
677 case HIST_UNDO: in hist_eof()
723 sfputc(hp->histfp,HIST_UNDO); in hist_cancel()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c31 * The first byte must contain the special character HIST_UNDO and the second
32 * byte is the version number. The sequence HIST_UNDO 0, following a command,
47 #define HIST_UNDO 0201 /* invalidate previous command */ macro
212 static const unsigned char hist_stamp[2] = { HIST_UNDO, HIST_VERSION };
441 if((read(fd,(char*)magic,2)!=2) || (magic[0]!=HIST_UNDO)) in hist_check()
620 * and that HIST_UNDO as the first character of a command is skipped
685 case HIST_UNDO: in hist_eof()
756 sfputc(hp->histfp,HIST_UNDO); in hist_cancel()