wchar.h (c58bfeb53b9121271d8c3be6d018e1e181c300fa) wchar.h (9ad391340ed786640390cea55667544e006f26fd)
1/*-
2 * Copyright (c)1999 Citrus Project,
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 132 unchanged lines hidden (view full) ---

141wchar_t *wcsncpy(wchar_t * __restrict , const wchar_t * __restrict, size_t);
142wchar_t *wcspbrk(const wchar_t *, const wchar_t *);
143wchar_t *wcsrchr(const wchar_t *, wchar_t);
144size_t wcsrtombs(char * __restrict, const wchar_t ** __restrict, size_t,
145 mbstate_t * __restrict);
146size_t wcsspn(const wchar_t *, const wchar_t *);
147wchar_t *wcsstr(const wchar_t * __restrict, const wchar_t * __restrict);
148int wctob(wint_t);
1/*-
2 * Copyright (c)1999 Citrus Project,
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 132 unchanged lines hidden (view full) ---

141wchar_t *wcsncpy(wchar_t * __restrict , const wchar_t * __restrict, size_t);
142wchar_t *wcspbrk(const wchar_t *, const wchar_t *);
143wchar_t *wcsrchr(const wchar_t *, wchar_t);
144size_t wcsrtombs(char * __restrict, const wchar_t ** __restrict, size_t,
145 mbstate_t * __restrict);
146size_t wcsspn(const wchar_t *, const wchar_t *);
147wchar_t *wcsstr(const wchar_t * __restrict, const wchar_t * __restrict);
148int wctob(wint_t);
149wchar_t *wcstok(wchar_t * __restrict, const wchar_t * __restrict,
150 wchar_t ** __restrict);
149wchar_t *wmemchr(const wchar_t *, wchar_t, size_t);
150int wmemcmp(const wchar_t *, const wchar_t *, size_t);
151wchar_t *wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
152wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t);
153wchar_t *wmemset(wchar_t *, wchar_t, size_t);
154
155#if __XSI_VISIBLE
156int wcswidth(const wchar_t *, size_t);
157int wcwidth(wchar_t);
158#endif
159__END_DECLS
160
161#define getwc(fp) fgetwc(fp)
162#define getwchar() fgetwc(stdin)
163#define putwc(wc, fp) fputwc(wc, fp)
164#define putwchar(wc) fputwc(wc, stdout)
165
166#endif /* !_WCHAR_H_ */
151wchar_t *wmemchr(const wchar_t *, wchar_t, size_t);
152int wmemcmp(const wchar_t *, const wchar_t *, size_t);
153wchar_t *wmemcpy(wchar_t * __restrict, const wchar_t * __restrict, size_t);
154wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t);
155wchar_t *wmemset(wchar_t *, wchar_t, size_t);
156
157#if __XSI_VISIBLE
158int wcswidth(const wchar_t *, size_t);
159int wcwidth(wchar_t);
160#endif
161__END_DECLS
162
163#define getwc(fp) fgetwc(fp)
164#define getwchar() fgetwc(stdin)
165#define putwc(wc, fp) fputwc(wc, fp)
166#define putwchar(wc) fputwc(wc, stdout)
167
168#endif /* !_WCHAR_H_ */