tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
lib
/
libc
/
locale
/
at
jcs
90 files
MB_CUR_MAX.3
new manual page MB_CUR_MAX(3) written from scratch; OK guenther@ stsp@ jmc@
2 years ago
Makefile.inc
Clean up CFLAGS to not pass the same -I option more than once. ok tb@
8 months ago
_CurrentRuneLocale.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
___runetype_mb.c
Adjust locale/rune*.h files so <stdio.h> and <wchar.h> get pulled into fewer files that don't need them.
2 years ago
__mb_cur_max.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
_def_messages.c
Stop exposing <sys/localedef.h> and various symbols internal to the libc locale implementation: _{Current,Default}*Locale, __[mn]locale_changed, __mb_len_max_runtime
10 years ago
_def_monetary.c
Stop exposing <sys/localedef.h> and various symbols internal to the libc locale implementation: _{Current,Default}*Locale, __[mn]locale_changed, __mb_len_max_runtime
10 years ago
_def_numeric.c
Stop exposing <sys/localedef.h> and various symbols internal to the libc locale implementation: _{Current,Default}*Locale, __[mn]locale_changed, __mb_len_max_runtime
10 years ago
_def_time.c
Stop exposing <sys/localedef.h> and various symbols internal to the libc locale implementation: _{Current,Default}*Locale, __[mn]locale_changed, __mb_len_max_runtime
10 years ago
_get_locname.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
_wcstod.h
Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings
10 years ago
_wcstol.h
Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings
10 years ago
_wcstoul.h
Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings
10 years ago
_wctrans.c
Adjust locale/rune*.h files so <stdio.h> and <wchar.h> get pulled into fewer files that don't need them.
2 years ago
_wctrans_local.h
Wrap <ctype.h> and <wctype.h> so that calls go direct and the symbols not in standard C are all weak. Hide several symbols internal to the implementation
10 years ago
btowc.3
Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze
13 years ago
btowc.c
Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct and the symbols not in the C standard are weak
10 years ago
c16rtomb.3
Provide C11 <uchar.h>. OK millert@. Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port. I originally wrote the code in 2022 at the prodding of espie@. Using one improvement to a manual page from jmc@.
2 years ago
c16rtomb.c
Provide C11 <uchar.h>. OK millert@. Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port. I originally wrote the code in 2022 at the prodding of espie@. Using one improvement to a manual page from jmc@.
2 years ago
c32rtomb.c
Provide C11 <uchar.h>. OK millert@. Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port. I originally wrote the code in 2022 at the prodding of espie@. Using one improvement to a manual page from jmc@.
2 years ago
duplocale.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
freelocale.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
isctype_l.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
iswalnum.3
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
iswctype.3
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
iswctype.c
Change rune-specific #defines from _CTYPE_ prefix to _RUNETYPE_ prefix
2 years ago
iswctype_l.c
Change rune-specific #defines from _CTYPE_ prefix to _RUNETYPE_ prefix
2 years ago
localeconv.3
.Li -> .Vt where appropriate; from josiah frentsos, tweaked by schwarze
3 years ago
localeconv.c
spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;
3 years ago
mblen.3
English grammar: add a missing word; from Jan Stary <hans at stare dot cz>
10 months ago
mblen.c
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
mbrlen.3
man pages: add missing word, The foo() ... -> The foo() function ...
4 years ago
mbrlen.c
Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct and the symbols not in the C standard are weak
10 years ago
mbrtoc16.3
Provide C11 <uchar.h>. OK millert@. Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port. I originally wrote the code in 2022 at the prodding of espie@. Using one improvement to a manual page from jmc@.
2 years ago
mbrtoc16.c
Provide C11 <uchar.h>. OK millert@. Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port. I originally wrote the code in 2022 at the prodding of espie@. Using one improvement to a manual page from jmc@.
2 years ago
mbrtoc32.c
Provide C11 <uchar.h>. OK millert@. Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port. I originally wrote the code in 2022 at the prodding of espie@. Using one improvement to a manual page from jmc@.
2 years ago
mbrtowc.3
since since -> since
2 years ago
mbsinit.3
man pages: add missing word, The foo() ... -> The foo() function ...
4 years ago
mbsrtowcs.3
Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze
13 years ago
mbstowcs.3
typo
10 years ago
mbstowcs.c
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
mbtowc.3
Delete the useless .\" ----- comments before .Sh. Wo don't have them anywhere else, so we don't need them here. No text change.
2 years ago
mbtowc.c
If an incomplete character is passed to mbtowc(3), set errno to EILSEQ. This is unambiguously required both by POSIX and by our own manual page.
10 years ago
multibyte_citrus.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
newlocale.3
POSIX.1-2008 TC3 is going to clarify how newlocale(3) uses oldloc. Explicitly state that our implementation now complies with the stricter requirements of TC3 because the newlocale(3) in old OpenBSD releases only complied with the weaker requirements of the old text of the standard. The complaints from our users resulted in both our implementation and the standard being improved. For details, see: http://austingroupbugs.net/view.php?id=1243#c4347
6 years ago
newlocale.c
Copy categories outside "mask" from "oldloc" to the new locale object. While POSIX appears to allow the old behaviour of ignoring "oldloc", Ted and Karl convinced me that is a bug in the spec and the Austin group almost certainly intended to require the new behaviour. Anyway, compatibility strongly suggests the new behaviour because most (or maybe even all?) other systems do not ignore "oldloc", and some software appears to depend on the copying from "oldloc" to the new locale.
7 years ago
nl_langinfo.3
pasto in function name in the SYNOPSIS; from semarie@
8 years ago
nl_langinfo.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
nl_langinfo_l.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
rune.c
Adjust locale/rune*.h files so <stdio.h> and <wchar.h> get pulled into fewer files that don't need them.
2 years ago
rune.h
Adjust locale/rune*.h files so <stdio.h> and <wchar.h> get pulled into fewer files that don't need them.
2 years ago
rune_local.h
Adjust locale/rune*.h files so <stdio.h> and <wchar.h> get pulled into fewer files that don't need them.
2 years ago
runetable.c
Adjust locale/rune*.h files so <stdio.h> and <wchar.h> get pulled into fewer files that don't need them.
2 years ago
runetype.h
Revert _RuneLocale struct changes until mklocale reacharound can be untangled.
3 years ago
setlocale.3
change some 4.4BSD references to earlier releases ok schwarze@
3 years ago
setlocale.c
Pull in <stdio.h> (for snprintf()) directly instead of assuming some local .h will pull it in
2 years ago
towctrans.3
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
towlower.3
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
uselocale.3
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
uselocale.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
wcrtomb.3
since since -> since
2 years ago
wcscoll.3
Improve the description of locale dependency: * mention LC_COLLATE; * clarify that all these functions are infested, including the *_l() versions; * avoid ENVIRONMENT, these functions don't inspect it; * and point to the C library functions that change the locale. OK millert@
7 years ago
wcscoll.c
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
wcscoll_l.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
wcsrtombs.3
Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze
13 years ago
wcstod.3
The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.
10 months ago
wcstod.c
Add wcstof(3) and wcstold(3).
17 years ago
wcstof.c
Add wcstof(3) and wcstold(3).
17 years ago
wcstoimax.c
Add wcstoimax(3) and wcstoumax(3).
17 years ago
wcstol.3
The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.
10 months ago
wcstol.c
zap remaining rcsid.
20 years ago
wcstold.c
Add wcstof(3) and wcstold(3).
17 years ago
wcstoll.c
zap remaining rcsid.
20 years ago
wcstombs.3
man pages: add missing word, The foo() ... -> The foo() function ...
4 years ago
wcstombs.c
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
wcstoul.c
zap remaining rcsid.
20 years ago
wcstoull.c
zap remaining rcsid.
20 years ago
wcstoumax.c
Add wcstoimax(3) and wcstoumax(3).
17 years ago
wcsxfrm.3
Improve the description of locale dependency: * mention LC_COLLATE; * clarify that all these functions are infested, including the *_l() versions; * avoid ENVIRONMENT, these functions don't inspect it; * and point to the C library functions that change the locale. OK millert@
7 years ago
wcsxfrm.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
wcsxfrm_l.c
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
wctob.3
convert to new .Dd format;
19 years ago
wctob.c
Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct and the symbols not in the C standard are weak
10 years ago
wctoint.h
static inline, not inline static
3 years ago
wctomb.3
man pages: add missing word, The foo() ... -> The foo() function ...
4 years ago
wctomb.c
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
wctrans.3
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
wctype.3
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
wctype.c
Adjust locale/rune*.h files so <stdio.h> and <wchar.h> get pulled into fewer files that don't need them.
2 years ago
wcwidth.3
Make it clear that printable characters of width 0 exist. While here, polish some wording. OK stsp@
9 years ago