Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 1996 15:35:14 -0600
From:      Warner Losh <imp@village.org>
To:        hackers@freebsd.org
Subject:   setlocale question
Message-ID:  <199609282135.PAA29387@rover.village.org>

next in thread | raw e-mail | index | archive | help
In looking at the differences between NetBSD's cat and FreeBSD's cat,
I noticed that NetBSD (and OpenBSD) has the following code before
anything else in main:

	setlocale(LC_ALL, "");

I was wondering if that was needed, and if so why?  I thought that
libc already did the moral equivalent of the semeantics of this before
passing control to main.  The man page wasn't clear to me why this
would be needed.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609282135.PAA29387>