1 /* 2 ** 3 ** OS/2 system-dependant routines for editline library. 4 */ 5 #include "editline.h" 6 7 void rl_ttyset(int Reset)8rl_ttyset(int Reset) 9 { 10 } 11 12 13 void rl_add_slash(char * path,char * p)14rl_add_slash( char *path, char *p ) 15 { 16 struct stat Sb; 17 18 if (stat(path, &Sb) >= 0) 19 (void)strcat(p, S_ISDIR(Sb.st_mode) ? SEPST : " "); 20 } 21