yamt
6efd91c498
constify and remove an __UNCONST.
2005-12-02 11:10:45 +00:00
christos
03256c6e55
WARNS=4
2005-11-29 03:11:58 +00:00
christos
0ea555f2ce
It is bogus to return EFAULT in userland.
2005-10-19 22:57:03 +00:00
wiz
2c320bdf02
Use backslash+e for a literal backslash.
2005-10-03 19:20:53 +00:00
gdt
13d60a911d
Escape backslash (in \n) in example program so that it appears
...
correctly in formatted output. Now the example program can be
cut/pasted/compiled.
2005-10-02 14:24:41 +00:00
wiz
0fd61eded9
Fix pasto, noted by Marc Espie.
2005-06-27 14:18:36 +00:00
lukem
88c3eadbfa
Add missing __RCSID()
2005-06-12 05:21:25 +00:00
kleink
fb4f51453b
Add some pedantry to exceptions from being equivalent to strftime.
2005-04-06 21:39:17 +00:00
wiz
215d79769a
Add man page for wcsftime from FreeBSD.
2005-03-30 10:15:12 +00:00
christos
eb808713b7
PR/29826: J. T. Conklin: Add wcsftime(3) (from FreeBSD)
2005-03-30 03:47:11 +00:00
tnozaki
7aab8c378d
considering huge character set(ucs, gb18030),
...
use not linear but binary search.
this change derrived from recent FreeBSD's rune.
2005-02-10 19:19:57 +00:00
kleink
fd5cb0acea
A little libc namespace housekeeping exercise:
...
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.
2005-02-09 21:35:46 +00:00
yamt
f659b39d81
correct a function prototype.
2004-09-27 07:07:04 +00:00
tshiozak
09e09c2c2c
make sure CITRUS=no to work.
2004-07-21 20:27:46 +00:00
tshiozak
f1849eeaba
- add support for "/force" symbol on locale.alias.
...
- a bit clean-up.
2004-07-21 18:51:30 +00:00
tshiozak
7b7f96b642
add prototype for load_locale_sub().
2004-07-21 17:49:49 +00:00
tshiozak
335bc6323f
add support for locale.alias file.
2004-07-21 14:18:16 +00:00
itojun
5e700978a6
fix missing license.
2004-06-21 21:20:05 +00:00
kleink
95e4d0d7af
Need namespace.h for internal names of strdup, strlcpy.
2004-05-09 11:26:33 +00:00
wiz
cef0afe940
Lots of grammar and wording changes from jmc@openbsd, with some
...
additional consistency changes by me.
2004-01-24 16:58:54 +00:00
jmmv
be85fac5e9
Fix typo: 'Each characters' -> 'Each character'
2004-01-21 12:40:14 +00:00
agc
40069685c3
Make this compile, and, as a side-effect, LP64 clean.
2004-01-06 11:29:30 +00:00
itojun
12eeb195bb
kill strcpy
2004-01-06 08:08:44 +00:00
itojun
35f883b08a
KNF
2004-01-02 21:49:35 +00:00
wiz
dca9ccd375
Use St -isoC-9X instead of St -isoC9X, to be in sync with groff.
2003-09-08 17:54:31 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
salo
99410184e7
netbsd.org->NetBSD.org
2003-07-26 19:24:24 +00:00
wiz
6156e5aaa0
Add missing dot a beginning of line.
2003-07-01 10:16:50 +00:00
kleink
0c9499738e
Add LC_MESSAGES to the listing of categories; fixes PR misc/19829 from
...
FUKAUMI Naoki.
2003-05-30 12:11:48 +00:00
scw
1fe87ac688
The fourth parameter of _citrus_ctype_mbrtowc() is a size_t, not a
...
pointer type. So use 0 instead of NULL.
2003-04-29 14:53:12 +00:00
wiz
472351e13d
Use
...
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz
b425910551
Typo and grammar fixes. Sort SEE ALSO. Use more mdoc.
2003-04-16 08:36:54 +00:00
tshiozak
6ca2252907
- support for the additional code area of zh_CN.GB18030 locale,
...
- make sure that __nbrune_t is unsigned 32bit clean and
- fix wrong copyright notice in the last commit.
this patch is contributed by Takehiko NOZAKI <sigsegv at s25 dot xrea dot com>.
2003-04-06 18:33:23 +00:00
scw
922be02781
Include <string.h> for strcmp(3) prototype.
2003-03-21 13:48:53 +00:00
wiz
42a6975065
Improve English, sort SEE ALSO.
...
XXX: list of valid charclasses should be added.
2003-03-17 08:49:46 +00:00
wiz
f885d77c51
Drop trailing space.
2003-03-17 08:41:31 +00:00
wiz
aae776727f
Use .Dv in some places, add "function" in another, and sort SEE ALSO.
2003-03-17 08:33:45 +00:00
wiz
0d4f93ac07
Use Dv in some places, and sort SEE ALSO.
2003-03-17 08:29:44 +00:00
tshiozak
5e62671b2f
changes for cross build on FreeBSD box.
...
- rename some macros and types defined in runetype.h.
- move declarations of some global symbols to rune.h from runetype.h.
- make sure the target sources use rune.h and mklocale use runetype.h.
I tested them on FreeBSD-4.6.2 box (./build.sh -m i386 tools).
2003-03-11 17:23:07 +00:00
tshiozak
3f9925f700
add wcstoll, wcstoimax, wcstoull and wcstoumax. (lib/20656)
...
- these are defined in C99 (wcsto[ui]max) and SUSv3.
- these implementations are written by sigsegv@s25.xrea.com ,
derived from NetBSD's wcstol/wcstoul.
- I just added some comments.
2003-03-11 09:21:22 +00:00
tshiozak
4f31053655
rename _CTYPE_x to _RUNETYPE_x for avoiding compile error on FreeBSD.
2003-03-10 21:18:50 +00:00
tshiozak
8328c33b65
rename _CTYPE_x to _RUNETYPE_x for avoiding compile error on FreeBSD.
2003-03-10 21:18:48 +00:00
tshiozak
75e29ba505
some changes around mklocale:
...
- clean up cpp directives.
- stop including rune.h from mklocale.
- stop using _BSD_RUNE_T macro. instead, use int32_t directly in runetype.h.
- move _DEFAULT_INVALID_RUNE to runetype.h.
These were for historical reason on porting rune from FreeBSD,
but it seems that these are no longer reasonable but troublesome
under the current NetBSD build system.
additionally:
- runetype.h -> locale/runetype.h in mklocale, because this might conflict
to FreeBSD's one.
2003-03-10 20:41:29 +00:00
tshiozak
326ed36874
changes related to lib/20576 and lib/20577.
...
- add wcstok() and wcswcs(),
- add wcstok(3),
- move btowc() and wctob() into each ctype modules,
- bump ctype interface ABI version,
- bump i18n modules' minor and
- update sets.
and fix a stupid bug in _RUNE_ISCACHED macro.
2003-03-05 20:18:14 +00:00
yamt
4ff37a4920
no point to compare wint_t and EOF.
2003-03-04 15:09:54 +00:00
yamt
da2254b6db
iswctype: return 0 if charclass is 0.
2003-03-04 15:05:57 +00:00
yamt
36c89d3a8a
wctob returns EOF, not WEOF.
2003-03-04 13:27:12 +00:00
tshiozak
188f0525a0
add manual pages for iswctype(), towctrans(), wctype() and wctrans().
2003-03-04 12:11:49 +00:00
tshiozak
ca7b6ea6df
add #include <string.h> for memset().
2003-03-04 10:35:31 +00:00
tshiozak
76c65c8cdb
fix a latent bug; host structure was mistaken for file structure.
...
my latest changes actualize it on ISO8859-x locales.
2003-03-04 08:49:15 +00:00