mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
move GETS_*ECHO* defintions from libkern.h to cons.h
MFC after: 2 months
This commit is contained in:
parent
0022629fe0
commit
ac8dee6952
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228638
@ -86,6 +86,11 @@ struct consdev {
|
||||
#define CN_FLAG_NODEBUG 0x00000001 /* Not supported with debugger. */
|
||||
#define CN_FLAG_NOAVAIL 0x00000002 /* Temporarily not available. */
|
||||
|
||||
/* Visibility of characters in cngets() */
|
||||
#define GETS_NOECHO 0 /* Disable echoing of characters. */
|
||||
#define GETS_ECHO 1 /* Enable echoing of characters. */
|
||||
#define GETS_ECHOPASS 2 /* Print a * for every character. */
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
extern struct msgbuf consmsgbuf; /* Message buffer for constty. */
|
||||
|
@ -188,9 +188,4 @@ strrchr(const char *p, int ch)
|
||||
#define FNM_IGNORECASE FNM_CASEFOLD
|
||||
#define FNM_FILE_NAME FNM_PATHNAME
|
||||
|
||||
/* Visibility of characters in gets() */
|
||||
#define GETS_NOECHO 0 /* Disable echoing of characters. */
|
||||
#define GETS_ECHO 1 /* Enable echoing of characters. */
|
||||
#define GETS_ECHOPASS 2 /* Print a * for every character. */
|
||||
|
||||
#endif /* !_SYS_LIBKERN_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user