Anonymous | Login | 2024-04-26 05:28 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0000334 | [1003.1(2008)/Issue 7] System Interfaces | Objection | Omission | 2010-10-15 10:40 | 2013-04-16 13:06 | ||
Reporter | geoffclare | View Status | public | ||||
Assigned To | ajosey | ||||||
Priority | normal | Resolution | Accepted | ||||
Status | Closed | ||||||
Name | Geoff Clare | ||||||
Organization | The Open Group | ||||||
User Reference | |||||||
Section | uselocale | ||||||
Page Number | 2162 | ||||||
Line Number | 68301 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | |||||||
Summary | 0000334: uselocale() error handling | ||||||
Description |
The RETURN VALUE section on the uselocale() page does not specify how uselocale() indicates an error has occurred. The newlocale() and duplocale() functions both have the same return type as uselocale() and on error they return (locale_t)0 and set errno. I assume that uselocale() should do the same. |
||||||
Desired Action |
Change The uselocale() function returns the locale handle from the previous call for the current thread. If there was no such previous call, the function shall return the value LC_GLOBAL_LOCALE. to Upon successful completion, the uselocale() function shall return the locale handle from the previous call for the current thread, or LC_GLOBAL_LOCALE if there was no such previous call. Otherwise, uselocale() shall return (locale_t)0 and set errno to indicate the error. |
||||||
Tags | tc1-2008 | ||||||
Attached Files | |||||||
|
Relationships | |||||||||||
|
There are no notes attached to this issue. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |