* util.h (convert_controls): Adjusted the comment to what the
function really does.
Этот коммит содержится в:
родитель
f54aef1cfc
Коммит
c47cd9de68
@ -1,6 +1,8 @@
|
|||||||
2004-09-26 Roland Illig <roland.illig@gmx.de>
|
2004-09-26 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* pipethrough.c: #include <string.h> to compile on Solaris.
|
* pipethrough.c: #include <string.h> to compile on Solaris.
|
||||||
|
* util.h (convert_controls): Adjusted the comment to what the
|
||||||
|
function really does.
|
||||||
|
|
||||||
2004-09-26 Mike Gorchak <mike@malva.ua>
|
2004-09-26 Mike Gorchak <mike@malva.ua>
|
||||||
|
|
||||||
|
@ -59,8 +59,10 @@ const char *skip_separators (const char *s);
|
|||||||
const char *skip_numbers (const char *s);
|
const char *skip_numbers (const char *s);
|
||||||
char *strip_ctrl_codes (char *s);
|
char *strip_ctrl_codes (char *s);
|
||||||
|
|
||||||
/* in-place conversion. returns s. */
|
/* Replaces "\\E" and "\\e" with "\033". Replaces "^" + [a-z] with
|
||||||
char *convert_controls (char *s);
|
* ((char) 1 + (c - 'a')). The same goes for "^" + [A-Z].
|
||||||
|
* Returns a newly allocated string. */
|
||||||
|
char *convert_controls (const char *s);
|
||||||
|
|
||||||
/* overwrites passwd with '\0's and frees it. */
|
/* overwrites passwd with '\0's and frees it. */
|
||||||
void wipe_password (char *passwd);
|
void wipe_password (char *passwd);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user