Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include
File: ttyent.h
/*
[0] Fix | Delete
* Copyright (c) 1989, 1993
[1] Fix | Delete
* The Regents of the University of California. All rights reserved.
[2] Fix | Delete
*
[3] Fix | Delete
* Redistribution and use in source and binary forms, with or without
[4] Fix | Delete
* modification, are permitted provided that the following conditions
[5] Fix | Delete
* are met:
[6] Fix | Delete
* 1. Redistributions of source code must retain the above copyright
[7] Fix | Delete
* notice, this list of conditions and the following disclaimer.
[8] Fix | Delete
* 2. Redistributions in binary form must reproduce the above copyright
[9] Fix | Delete
* notice, this list of conditions and the following disclaimer in the
[10] Fix | Delete
* documentation and/or other materials provided with the distribution.
[11] Fix | Delete
* 4. Neither the name of the University nor the names of its contributors
[12] Fix | Delete
* may be used to endorse or promote products derived from this software
[13] Fix | Delete
* without specific prior written permission.
[14] Fix | Delete
*
[15] Fix | Delete
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
[16] Fix | Delete
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
[17] Fix | Delete
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
[18] Fix | Delete
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
[19] Fix | Delete
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
[20] Fix | Delete
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
[21] Fix | Delete
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
[22] Fix | Delete
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
[23] Fix | Delete
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
[24] Fix | Delete
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
[25] Fix | Delete
* SUCH DAMAGE.
[26] Fix | Delete
*
[27] Fix | Delete
* @(#)ttyent.h 8.1 (Berkeley) 6/2/93
[28] Fix | Delete
*/
[29] Fix | Delete
[30] Fix | Delete
#ifndef _TTYENT_H
[31] Fix | Delete
#define _TTYENT_H 1
[32] Fix | Delete
[33] Fix | Delete
#include <features.h>
[34] Fix | Delete
[35] Fix | Delete
#define _PATH_TTYS "/etc/ttys"
[36] Fix | Delete
[37] Fix | Delete
#define _TTYS_OFF "off"
[38] Fix | Delete
#define _TTYS_ON "on"
[39] Fix | Delete
#define _TTYS_SECURE "secure"
[40] Fix | Delete
#define _TTYS_WINDOW "window"
[41] Fix | Delete
[42] Fix | Delete
struct ttyent {
[43] Fix | Delete
char *ty_name; /* terminal device name */
[44] Fix | Delete
char *ty_getty; /* command to execute, usually getty */
[45] Fix | Delete
char *ty_type; /* terminal type for termcap */
[46] Fix | Delete
#define TTY_ON 0x01 /* enable logins (start ty_getty program) */
[47] Fix | Delete
#define TTY_SECURE 0x02 /* allow uid of 0 to login */
[48] Fix | Delete
int ty_status; /* status flags */
[49] Fix | Delete
char *ty_window; /* command to start up window manager */
[50] Fix | Delete
char *ty_comment; /* comment field */
[51] Fix | Delete
};
[52] Fix | Delete
[53] Fix | Delete
[54] Fix | Delete
__BEGIN_DECLS
[55] Fix | Delete
[56] Fix | Delete
extern struct ttyent *getttyent (void) __THROW;
[57] Fix | Delete
extern struct ttyent *getttynam (const char *__tty) __THROW;
[58] Fix | Delete
extern int setttyent (void) __THROW;
[59] Fix | Delete
extern int endttyent (void) __THROW;
[60] Fix | Delete
[61] Fix | Delete
__END_DECLS
[62] Fix | Delete
[63] Fix | Delete
#endif /* ttyent.h */
[64] Fix | Delete
[65] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function