1
0
Files
irix-657m-src/eoe/cmd/lp_svr4/lib/msgs/putmessage.c
T
2022-09-29 17:59:04 +03:00

56 lines
1.7 KiB
C

/*
* |-----------------------------------------------------------|
* | Copyright (c) 1991, 1990 MIPS Computer Systems, Inc. |
* | All Rights Reserved |
* |-----------------------------------------------------------|
* | Restricted Rights Legend |
* | Use, duplication, or disclosure by the Government is |
* | subject to restrictions as set forth in |
* | subparagraph (c)(1)(ii) of the Rights in Technical |
* | Data and Computer Software Clause of DFARS 252.227-7013. |
* | MIPS Computer Systems, Inc. |
* | 950 DeGuigne Avenue |
* | Sunnyvale, California 94088-3650, USA |
* |-----------------------------------------------------------|
*/
#ident "$Header: /proj/irix6.5.7m/isms/eoe/cmd/lp_svr4/lib/msgs/RCS/putmessage.c,v 1.1 1992/12/14 13:31:45 suresh Exp $"
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
/* LINTLIBRARY */
#if defined(__STDC__)
# include <stdarg.h>
#else
# include <varargs.h>
#endif
/* VARARGS */
#if defined(__STDC__)
int putmessage(char * buf, short type, ... )
#else
int putmessage(buf, type, va_alist)
char *buf;
short type;
va_dcl
#endif
{
int size;
va_list arg;
int _putmessage();
#if defined(__STDC__)
va_start(arg, type);
#else
va_start(arg);
#endif
size = _putmessage(buf, type, arg);
va_end(arg);
return(size);
}