Skip site navigation (1)Skip section navigation (2)

CVS log for src/include/wchar.h

[BACK] Up to [FreeBSD] / src / include

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Nov 13 16:18:48 2011 UTC (2 months, 3 weeks ago) by theraven
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +20 -17 lines
SVN rev 227487 on 2011-11-13 16:18:48Z by theraven

The spec says that FILE must be defined in wchar.h, but it wasn't.  It
is now.  Also hide some macros in C++ mode that will break C++
namespaced calls.

Approved by:	dim (mentor)

Revision 1.51.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.51.2.1: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)

Revision 1.46.12.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)

Revision 1.50.2.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.50.2.1: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.1: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)

Revision 1.50.2.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.50.2.1: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.1: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Feb 16 19:28:10 2010 UTC (23 months, 3 weeks ago) by imp
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +0 -7 lines
SVN rev 203963 on 2010-02-16 19:28:10Z by imp

Remove NetBSD Foundation clauses 3 & 4.  They eliminated those clauses
last year.

Revision 1.46.10.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)

Revision 1.50.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.50.2.1: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP, RELENG_8_0_BP
Branch point for: RELENG_8_2, RELENG_8_1, RELENG_8_0
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)

Revision 1.46.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Mar 4 15:45:34 2009 UTC (2 years, 11 months ago) by das
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
SVN rev 189365 on 2009-03-04 15:45:34Z by das

Put the restrict qualifiers in the right place in the wcp[n]cpy prototypes.

Submitted by:	Pawel Worach <pawel.worach@gmail.com>

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Mar 4 06:01:27 2009 UTC (2 years, 11 months ago) by das
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -0 lines
SVN rev 189361 on 2009-03-04 06:01:27Z by das

Add wcpcpy(3) and wcpncpy(3).

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Feb 28 06:00:58 2009 UTC (2 years, 11 months ago) by das
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +8 -2 lines
SVN rev 189136 on 2009-02-28 06:00:58Z by das

- Add getdelim(), getline(), stpncpy(), strnlen(), wcsnlen(),
  wcscasecmp(), and wcsncasecmp().
- Make some previously non-standard extensions visible
  if POSIX_VISIBLE >= 200809.
- Use restrict qualifiers in stpcpy().
- Declare off_t and size_t in stdio.h.
- Bump __FreeBSD_version in case the new symbols (particularly
  getline()) cause issues with ports.

Reviewed by:	standards@

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Jan 31 18:27:02 2009 UTC (3 years ago) by das
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +1 -1 lines
SVN rev 187961 on 2009-01-31 18:27:02Z by das

Add a function attribute called `__malloc_like', which informs gcc
that the annotated function returns a pointer that doesn't alias any
extant pointer. This results in a 50%+ speedup in microbenchmarks such
as the following:

    char *cp = malloc(1), *buf = malloc(BUF);
    for (i = 0; i < BUF; i++) buf[i] = *cp;

In real programs, your mileage will vary. Note that gcc already
performs this optimization automatically for any function called
`malloc', `calloc', `strdup', or `strndup' unless -fno-builtins is
used.

Revision 1.46.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)

Revision 1.45.20.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Aug 13 05:54:33 2005 UTC (6 years, 5 months ago) by tjr
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0, RELENG_7
Branch point for: RELENG_7_4, RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +1 -0 lines
Add an implementation of the semi-standard wcsdup() function, as found
on Microsoft and GNU systems.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Aug 12 12:19:10 2004 UTC (7 years, 6 months ago) by tjr
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_6, RELENG_5_BP, RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3, RELENG_5
Branch point for: RELENG_6_4
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -0 lines
Implement wcwidth() as an inline function.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Jul 23 02:29:37 2004 UTC (7 years, 6 months ago) by tjr
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +12 -11 lines
Mark functions pure where applicable.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Jul 21 10:54:57 2004 UTC (7 years, 6 months ago) by tjr
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -0 lines
Implement the GNU extensions of mbsnrtowcs() and wcsnrtombs(). These are
convenient when the source string isn't null-terminated.

Implement the other conversion functions (mbstowcs(), mbsrtowcs(), wcstombs(),
wcsrtombs()) in terms of these new functions.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jul 16 06:06:09 2004 UTC (7 years, 6 months ago) by tjr
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -0 lines
Add fgetwln(), a wide character version of fgetln().

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Jun 7 10:31:10 2004 UTC (7 years, 8 months ago) by tjr
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -1 lines
Fix typo in putwc().

Noticed by:	stefanf

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu May 27 10:08:44 2004 UTC (7 years, 8 months ago) by tjr
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +12 -0 lines
Bring back the macro versions of getwc(), getwchar(), putwc() and
putwchar(), but this time avoid redundantly declaring __stdinp and
__stdoutp when source files include both <stdio.h> and <wchar.h>.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue May 25 12:41:02 2004 UTC (7 years, 8 months ago) by tjr
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +0 -8 lines
Revert to rev. 1.36 until issues with -Wredundant-decls are sorted out.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue May 25 12:02:49 2004 UTC (7 years, 8 months ago) by tjr
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -1 lines
Fix typo in previous: getwc() should call fgetwc(), not the function
version of itself.

Noticed by:	stefanf

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue May 25 10:42:52 2004 UTC (7 years, 8 months ago) by tjr
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +8 -0 lines
Provide trivial macro implementations of getwc(), getwchar(), putwc() and
putwchar() to reduce function call overhead.

Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Thu Dec 18 00:59:50 2003 UTC (8 years, 1 month ago) by peter
Branches: RELENG_5_2
CVS tags: RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +1 -4 lines
MFC:  add sys/_null.h and change the definition of NULL to a long on ia64
and amd64.  Ensure that this is not accidently activated on any platforms
other than these two since its quite late in the release cycle and it is
not worth the risk of disturbing to the established platforms.

Approved by:  re (scottl, jhb)

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Dec 7 21:10:06 2003 UTC (8 years, 2 months ago) by marcel
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -4 lines
Change the definition of NULL on ia64 (for LP64 compilations) from
an int constant to a long constant. This change improves consistency
in the following two ways:
1. The first 8 arguments are always passed in registers on ia64, which
   by virtue of the generated code implicitly widens ints to longs and
   allows the use of an 32-bit integral type for 64-bit arguments.
   Subsequent arguments are passed onto the memory stack, which does
   not exhibit the same behaviour and consequently do not allow this.
   In practice this means that variadic functions taking pointers
   and given NULL (without cast) work as long as the NULL is passed
   in one of the first 8 arguments. A SIGSEGV is more likely the
   result if such would be done for stack-based arguments. This is
   due to the fact that the upper 4 bytes remain undefined.
2. All 64-bit platforms that FreeBSD supports, with the obvious
   exception of ia64, allow 32-bit integral types (specifically NULL)
   when 64-bit pointers are expected in variadic functions by way of
   how the compiler generates code. As such, code that works correctly
   (whether rightfully so or not) on any platform other than ia64, may
   fail on ia64.

To more easily allow tweaking of the definition of NULL, this commit
removes the 12 definitions in the various headers and puts it in a
new header that can be included whenever NULL is to be made visible.

This commit fixes GNOME, emacs, xemacs and a whole bunch of ports
that I don't particularly care about at this time...

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Apr 28 22:40:05 2003 UTC (8 years, 9 months ago) by kan
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Branch point for: RELENG_5_2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -0 lines
Add definitions for WCHAR_MIN and WCHAR_MAX.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Mar 13 06:29:53 2003 UTC (8 years, 11 months ago) by tjr
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -0 lines
MFp4: Implementations of the wcstof() and wcstold() functions.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Oct 27 11:30:36 2002 UTC (9 years, 3 months ago) by tjr
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +16 -9 lines
Correct visibility for v*wscanf(), wcstoll() and wcstoull(). These functions
did not exist in ISO C Amd. 1. Add #ifdef __LONG_LONG_SUPPORTED and lint
comments around wcstoll() and wcstoull().

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Oct 4 03:18:25 2002 UTC (9 years, 4 months ago) by tjr
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -0 lines
Add a placeholder implementation of wcscoll() and wcsxfrm() which gives
locale-sensitive collation only in single-byte locales, and just does
binary comparison for the others with extended character sets.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Sep 28 07:43:43 2002 UTC (9 years, 4 months ago) by tjr
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +0 -5 lines
Remove masking macros for getwc(), putwc(), putwchar() and getwchar().
Although there was nothing wrong with getwc() and putwc(), getwchar()
and putwchar() assumed that <stdio.h> had been included before <wchar.h>,
which is not allowed by the standard.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Sep 23 12:40:06 2002 UTC (9 years, 4 months ago) by tjr
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -0 lines
Add implementations of wscanf() and related functions: fwscanf(), swscanf(),
vfwscanf(), vswscanf(), vwscanf(). As the name suggests, these are wide-
character versions of the scanf() family of functions.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Sep 22 08:06:45 2002 UTC (9 years, 4 months ago) by tjr
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -0 lines
Add the remaining C99 wide character string to integer conversion functions.
Restrict qualifiers were added to the existing prototypes in <inttypes.h>
and the typedef for wchar_t was removed.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Sep 21 13:00:29 2002 UTC (9 years, 4 months ago) by tjr
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +9 -0 lines
Add implementations of the wprintf() family of functions, which perform
formatted wide-character output.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Sep 21 08:55:16 2002 UTC (9 years, 4 months ago) by tjr
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -2 lines
Restrict visibility of wcslcat() and wcslcpy() to the __BSD_VISIBLE case.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Sep 15 08:38:50 2002 UTC (9 years, 4 months ago) by tjr
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -0 lines
Add wcstod() as a wrapper around strtod(). It does not handle any characters
that strtod() does not (alternate digit characters, etc. are not handled).

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Sep 12 23:33:17 2002 UTC (9 years, 4 months ago) by tjr
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines
Style: tab between #define and macro name.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Sep 12 10:27:48 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Protect arguments to the putwc and putwchar macros with parens.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Sep 11 08:57:11 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -0 lines
Add an implementation of wcsftime() (wide character version of strftime()).

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Sep 10 09:43:28 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +10 -10 lines
Replace FILE with struct __sFILE in the prototypes for the wide character
I/O functions to avoid having to bring in pollution from <stdio.h>.

Suggested by:	bde

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Sep 9 07:17:55 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +0 -5 lines
Remove the typedef of wctype_t from this header; we don't support the
XSI mistake of making everything from <wctype.h> visible here.
If we did choose to support it, we could just #include <wctype.h>.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Sep 8 13:27:26 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -0 lines
Add wcstol() and wcstoul(), based on strtol() and strtoul().

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Sep 7 08:16:57 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -0 lines
Add an implementation of wcstok(), based on strtok_r().

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Sep 7 03:38:13 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -1 lines
Add restrict qualifiers to wcsstr()'s arguments.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Sep 6 11:23:32 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Style: One space between "restrict" qualifier and "*".

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Aug 21 16:19:55 2002 UTC (9 years, 5 months ago) by mike
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +13 -13 lines
o Merge <machine/ansi.h> and <machine/types.h> into a new header
  called <machine/_types.h>.
o <machine/ansi.h> will continue to live so it can define MD clock
  macros, which are only MD because of gratuitous differences between
  architectures.
o Change all headers to make use of this.  This mainly involves
  changing:
    #ifdef _BSD_FOO_T_
    typedef	_BSD_FOO_T_	foo_t;
    #undef _BSD_FOO_T_
    #endif
  to:
    #ifndef _FOO_T_DECLARED
    typedef	__foo_t	foo_t;
    #define	_FOO_T_DECLARED
    #endif

Concept by:	bde
Reviewed by:	jake, obrien

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Aug 20 22:44:40 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -2 lines
Restrict visibility of wcwidth() and wcswidth(); they are XSI extensions.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 19 21:00:13 2002 UTC (9 years, 5 months ago) by ache
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -1 lines
Sort unsorted prototypes

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Aug 19 20:48:18 2002 UTC (9 years, 5 months ago) by ache
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +0 -3 lines
Activate (uncomment) wcwidth() and wcswidth() now implemented

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Aug 18 06:30:10 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +0 -9 lines
Implement the ISO C90 Amd.1 restartable wide and multibyte character
manipulation functions mbrlen(), mbrtowc(), mbsinit(), mbsrtowcs(),
wcrtomb(), wcsrtombs().

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Aug 13 09:30:40 2002 UTC (9 years, 6 months ago) by tjr
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +22 -0 lines
Basic support for wide character I/O: getwc(), fgetwc(), getwchar(),
putwc(), fputwc(), putwchar(), ungetwc(), fwide().

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 8 02:42:29 2002 UTC (9 years, 6 months ago) by imp
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.3.2.1: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +2 -0 lines
MFC: #ifdef wchar_t on __cplusplus not being defined.

Forgotten by: imp

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Aug 6 06:26:06 2002 UTC (9 years, 6 months ago) by tjr
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -10 lines
Sort prototypes by function name.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Aug 6 05:19:33 2002 UTC (9 years, 6 months ago) by tjr
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +13 -13 lines
Whitespace formatting changes: line up macro bodies, function names,
place tabs after #define and typedef. Sort typedefs by name.

Requested by:	mike

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Aug 4 12:43:52 2002 UTC (9 years, 6 months ago) by tjr
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -1 lines
Change wctype_t to an unsigned type to avoid warnings.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Aug 3 13:49:55 2002 UTC (9 years, 6 months ago) by tjr
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -0 lines
Add ISO C90 Amd. 1 btowc(3) and wctob(3) functions.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Aug 3 04:18:39 2002 UTC (9 years, 6 months ago) by tjr
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -0 lines
Add ISO C90 Amd. 1 wctype(3) and iswctype(3) functions.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jul 9 05:13:30 2002 UTC (9 years, 7 months ago) by obrien
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -0 lines
Don't define wchar_t if we are a C++ compiler.

PR:		31864, 40084

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Mar 23 17:24:53 2002 UTC (9 years, 10 months ago) by imp
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +34 -36 lines
Breath deep and take __P out of the system include files.

# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 23:48:38 2001 UTC (10 years, 7 months ago) by obrien
Branches: RELENG_4
CVS tags: RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5, RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -1 lines
MFC: locale insensitive wcs* and wmem* functions

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jul 10 17:50:46 2001 UTC (10 years, 7 months ago) by obrien
Branches: MAIN
Branch point for: RELENG_4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
VCS ID fixup

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue May 15 20:28:48 2001 UTC (10 years, 8 months ago) by tshiozak
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +13 -2 lines
adapt to FreeBSD.
- add #define NULL 0 instead of sys/null.h.
- enable locale-insensitive functions:
	wcscat.c wcschr.c wcscmp.c wcscpy.c wcscspn.c wcslcat.c wcslcpy.c
        wcslen.c wcsncat.c wcsncmp.c wcsncpy.c wcspbrk.c wcsrchr.c wcsspn.c
	wcsstr.c wmemchr.c wmemcmp.c wmemcpy.c wmemmove.c wmemset.c
- disable some locale-sensitive functions defined in wchar.h temporarily:
	mbrlen mbrtowc mbsinit mbsrtowcs wcrtomb wcsrtombs wcwidth wcswidth
- disable all functions defined in wctype.h temporarily:
	is* tow*

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue May 15 19:35:57 2001 UTC (10 years, 8 months ago) by tshiozak
Branches: MAIN
initial import of wchar.h and wctype.h

Obtained from:	NetBSD and Citrus XPG4DL

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options