mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
1adba262d7
Fix error return codes
29 lines
457 B
C
29 lines
457 B
C
/* $Id: catgets.c,v 1.3 1997/02/22 15:00:47 peter Exp $ */
|
|
|
|
/*
|
|
* Written by J.T. Conklin, 10/05/94
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
#ifdef __indr_reference
|
|
__indr_reference(_catgets,catgets);
|
|
#else
|
|
|
|
#include <nl_types.h>
|
|
|
|
extern char * _catgets __P((nl_catd, int, int, __const char *));
|
|
|
|
char *
|
|
catgets(catd, set_id, msg_id, s)
|
|
nl_catd catd;
|
|
int set_id;
|
|
int msg_id;
|
|
__const char *s;
|
|
{
|
|
return _catgets(catd, set_id, msg_id, s);
|
|
}
|
|
|
|
#endif
|