DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: @ T t

⟦0134189d5⟧ TextFile

    Length: 590 (0x24e)
    Types: TextFile
    Notes: @(#)tcserv.h 13.1 (RC International) 91/02/01  */
    Names: »tcserv.h«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/include/tcserv.h« 
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦c6f24efe5⟧ »0007« 
        └─⟦this⟧ »comp3.0/bsd/usr/include/tcserv.h« 

TextFile

/*	@(#)tcserv.h	13.1 (RC International) 91/02/01 	*/

/*
 * tgetent() <=> tcserv message formats
 */

/*
 * Message formats
 */
enum	tcreq	{ TCSERV_NAME, TCSERV_RESTART };
struct	tcserv_req
{
	int		pid;		/* requestor pid (key for resp) */
	enum tcreq	req;
	char		name[80];
};

enum	tcstat	{ TCSERV_OK, TCSERV_ERR, TCSERV_NOMATCH };
struct	tcserv_resp
{
	enum tcstat	status;
	char		value[1024];
};

#define	TCNODE	"/%s/dev/termcap"	/* %s => sbbname */
#define	TCFILE	"/etc/termcap"
#define	TCREQ_KEY	0x7fffffff	/* not a legal pid */
#define	TCALIVE_KEY	0x7ffffffe	/* also not a legal pid */