wscanf.3 (38b5abad06f430cc2f20ee53080f292bd88dcbeb) wscanf.3 (898f520da85b4349f5645d74190c4175c08c5389)
1.\" Copyright (c) 1990, 1991, 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.\" Chris Torek and the American National Standards Committee X3,
6.\" on Information Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

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

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)scanf.3 8.2 (Berkeley) 12/11/93
1.\" Copyright (c) 1990, 1991, 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.\" Chris Torek and the American National Standards Committee X3,
6.\" on Information Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

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

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)scanf.3 8.2 (Berkeley) 12/11/93
37.\" FreeBSD: src/lib/libc/stdio/scanf.3,v 1.17 2002/05/30 09:53:47 ru Exp
37.\" FreeBSD: src/lib/libc/stdio/scanf.3,v 1.17 2002/05/30 09:53:47 ru Exp
38.\" $FreeBSD$
39.\"
40.Dd September 22, 2002
41.Dt WSCANF 3
42.Os
43.Sh NAME
44.Nm wscanf ,
45.Nm fwscanf ,

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

356and there must be enough room for the multibyte representation
357of all the characters
358(no terminating
359.Dv NUL
360is added).
361The usual skip of leading white space is suppressed.
362To skip white space first, use an explicit space in the format.
363.Pp
38.\" $FreeBSD$
39.\"
40.Dd September 22, 2002
41.Dt WSCANF 3
42.Os
43.Sh NAME
44.Nm wscanf ,
45.Nm fwscanf ,

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

356and there must be enough room for the multibyte representation
357of all the characters
358(no terminating
359.Dv NUL
360is added).
361The usual skip of leading white space is suppressed.
362To skip white space first, use an explicit space in the format.
363.Pp
364If an
365.Cm l
366qualifier is present, the next pointer must be a pointer to
367.Vt wchar_t ,
364If an
365.Cm l
366qualifier is present, the next pointer must be a pointer to
367.Vt wchar_t ,
368into which the input will be placed.
369.It Cm C
370The same as
371.Cm lc .
372.It Cm \&[
373Matches a nonempty sequence of characters from the specified set
374of accepted characters;
375the next pointer must be a pointer to

--- 123 unchanged lines hidden ---
368into which the input will be placed.
369.It Cm C
370The same as
371.Cm lc .
372.It Cm \&[
373Matches a nonempty sequence of characters from the specified set
374of accepted characters;
375the next pointer must be a pointer to

--- 123 unchanged lines hidden ---