c80e9e72c9
Sync the section order with the original version. Add missing .Sh LIBRARYs. Submitted by: kano@na.rim.or.jp, Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
162 lines
5 KiB
Groff
162 lines
5 KiB
Groff
.\" Copyright (c) 1989, 1991, 1993
|
||
.\" The Regents of the University of California. All rights reserved.
|
||
.\"
|
||
.\" Redistribution and use in source and binary forms, with or without
|
||
.\" modification, are permitted provided that the following conditions
|
||
.\" are met:
|
||
.\" 1. Redistributions of source code must retain the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer.
|
||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer in the
|
||
.\" documentation and/or other materials provided with the distribution.
|
||
.\" 3. All advertising materials mentioning features or use of this software
|
||
.\" must display the following acknowledgement:
|
||
.\" This product includes software developed by the University of
|
||
.\" California, Berkeley and its contributors.
|
||
.\" 4. Neither the name of the University nor the names of its contributors
|
||
.\" may be used to endorse or promote products derived from this software
|
||
.\" without specific prior written permission.
|
||
.\"
|
||
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||
.\" SUCH DAMAGE.
|
||
.\"
|
||
.\" @(#)unvis.3 8.2 (Berkeley) 12/11/93
|
||
.\" %FreeBSD: src/lib/libc/gen/unvis.3,v 1.6.2.5 2001/12/14 18:33:51 ru Exp %
|
||
.\" $FreeBSD$
|
||
.\"
|
||
.Dd December 11, 1993
|
||
.Dt UNVIS 3
|
||
.Os
|
||
.Sh ̾<EFBFBD><EFBFBD>
|
||
.Nm unvis ,
|
||
.Nm strunvis
|
||
.Nd <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>饯<EFBFBD><EFBFBD><EFBFBD>β<EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><EFBFBD><EFBFBD>Υǥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Sh <EFBFBD>饤<EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD>
|
||
.Lb libc
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.In vis.h
|
||
.Ft int
|
||
.Fn unvis "char *cp" "int c" "int *astate" "int flag"
|
||
.Ft int
|
||
.Fn strunvis "char *dst" "const char *src"
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fn unvis
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fn strunvis
|
||
<EFBFBD>ؿ<EFBFBD><EFBFBD>ϡ<EFBFBD><EFBFBD>㤨<EFBFBD><EFBFBD>
|
||
.Xr vis 3
|
||
<EFBFBD>ؿ<EFBFBD><EFBFBD>ˤ<EFBFBD><EFBFBD>äƺ<EFBFBD><EFBFBD><EFBFBD>
|
||
<EFBFBD>Ф<EFBFBD><EFBFBD>줿<EFBFBD>褦<EFBFBD>ʥ<EFBFBD><EFBFBD><EFBFBD><EFBFB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ch = getchar()) != EOF) {
|
||
again:
|
||
switch(unvis(&out, ch, &state, 0)) {
|
||
case 0:
|
||
case UNVIS_NOCHAR:
|
||
break;
|
||
case UNVIS_VALID:
|
||
(void) putchar(out);
|
||
break;
|
||
case UNVIS_VALIDPUSH:
|
||
(void) putchar(out);
|
||
goto again;
|
||
case UNVIS_SYNBAD:
|
||
(void)fprintf(stderr, "bad sequence!\en");
|
||
exit(1);
|
||
}
|
||
}
|
||
if (unvis(&out, (char)0, &state, UNVIS_END) == UNVIS_VALID)
|
||
(void) putchar(out);
|
||
.Ed
|
||
.Sh <EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Xr vis 1
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fn unvis
|
||
<EFBFBD>ؿ<EFBFBD><EFBFBD>ϡ<EFBFBD>
|
||
.Bx 4.4
|
||
<EFBFBD>ǤϤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>о줷<EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|