linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* LC_MESSAGES is not C99
@ 2011-07-08 10:02 Křištof Želechovski
       [not found] ` <201107081202.42824.giecrilj-n4IAqcmFnHAX1+iMCFCb4w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Křištof Želechovski @ 2011-07-08 10:02 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Regarding setlocale(3): it should be noted that while setlocale itself is in C99, LC_MESSAGES is a POSIX extension.  This category should not be used in applications that claim to be portable outside POSIX, such as CGIC [1].

Best regards,
Chris

___
[1] <URL: http://www.boutell.com/cgic/ >
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* fscanf(3): description does not match what glibc actually does for %[]
       [not found] ` <201107081202.42824.giecrilj-n4IAqcmFnHAX1+iMCFCb4w@public.gmane.org>
@ 2011-07-08 22:51   ` Křištof Želechovski
  2017-10-03 18:41   ` LC_MESSAGES is not C99 Michael Kerrisk (man-pages)
  1 sibling, 0 replies; 3+ messages in thread
From: Křištof Želechovski @ 2011-07-08 22:51 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

<URL: https://bugzilla.novell.com/show_bug.cgi?id=704755 >
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: LC_MESSAGES is not C99
       [not found] ` <201107081202.42824.giecrilj-n4IAqcmFnHAX1+iMCFCb4w@public.gmane.org>
  2011-07-08 22:51   ` fscanf(3): description does not match what glibc actually does for %[] Křištof Želechovski
@ 2017-10-03 18:41   ` Michael Kerrisk (man-pages)
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-10-03 18:41 UTC (permalink / raw)
  To: Křištof Želechovski,
	linux-man-u79uwXL29TY76Z2rM5mHXA
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w

Hello Křištof

Better late than never...

On 07/08/2011 12:02 PM, Křištof Želechovski wrote:
> Regarding setlocale(3): it should be noted that while setlocale
> itself is in C99, LC_MESSAGES is a POSIX extension. This category
> should not be used in applications that claim to be portable outside
> POSIX, such as CGIC [1].

I added this text to the page:

       The  C  standards  specify only the categories LC_ALL, LC_COLLATE,
       LC_CTYPE, LC_MONETARY,  LC_NUMERIC,  and  LC_TIME.   POSIX.1  adds
       LC_MESSAGES.  The remaining categories are GNU extensions.

Cheers,

Michael

> 
> Best regards,
> Chris
> 
> ___
> [1] <URL: http://www.boutell.com/cgic/ >
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-03 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-08 10:02 LC_MESSAGES is not C99 Křištof Želechovski
     [not found] ` <201107081202.42824.giecrilj-n4IAqcmFnHAX1+iMCFCb4w@public.gmane.org>
2011-07-08 22:51   ` fscanf(3): description does not match what glibc actually does for %[] Křištof Želechovski
2017-10-03 18:41   ` LC_MESSAGES is not C99 Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).