* Copyright (c) 1991 The Regents of the University of California.
* %sccs.include.redist.c%
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid
[] = "@(#)setlocale.c 5.2 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
* The setlocale function.
* Sorry, for now we only accept the C locale.
setlocale(category
, locale
)
if ((unsigned int)category
>= _LC_LAST
)
return(strcmp(locale
, C
) ? NULL
: C
);