multibyte.3 (972baa3747e149e6345e27925bf2441a99cc1898) multibyte.3 (d64982518242686ea2827535231707ad7fc7c0ac)
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Donn Seeley of BSDI.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

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

216function returns the number of wide characters converted,
217not counting any terminating null wide character.
218The
219.Fn wcstombs
220function returns the number of bytes converted,
221not counting any terminating null byte.
222If any invalid multibyte characters are encountered,
223both functions return \-1.
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Donn Seeley of BSDI.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

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

216function returns the number of wide characters converted,
217not counting any terminating null wide character.
218The
219.Fn wcstombs
220function returns the number of bytes converted,
221not counting any terminating null byte.
222If any invalid multibyte characters are encountered,
223both functions return \-1.
224.Sh "SEE ALSO
224.Sh SEE ALSO
225.Xr btowc 3 ,
226.Xr mbrlen 3 ,
227.Xr mbrtowc 3 ,
228.Xr mbrune 3 ,
229.Xr mbsrtowcs 3 ,
230.Xr rune 3 ,
231.Xr setlocale 3 ,
232.Xr wcrtomb 3 ,

--- 16 unchanged lines hidden ---
225.Xr btowc 3 ,
226.Xr mbrlen 3 ,
227.Xr mbrtowc 3 ,
228.Xr mbrune 3 ,
229.Xr mbsrtowcs 3 ,
230.Xr rune 3 ,
231.Xr setlocale 3 ,
232.Xr wcrtomb 3 ,

--- 16 unchanged lines hidden ---