Deleted Added
full compact
putc.3 (50476) putc.3 (57686)
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.\" @(#)putc.3 8.1 (Berkeley) 6/4/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.\" @(#)putc.3 8.1 (Berkeley) 6/4/93
37.\" $FreeBSD: head/lib/libc/stdio/putc.3 50476 1999-08-28 00:22:10Z peter $
37.\" $FreeBSD: head/lib/libc/stdio/putc.3 57686 2000-03-02 09:14:21Z sheldonh $
38.\"
39.Dd June 4, 1993
40.Dt PUTC 3
41.Os
42.Sh NAME
43.Nm fputc ,
44.Nm putc ,
45.Nm putchar ,

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

64(converted to an ``unsigned char'')
65to the output stream pointed to by
66.Fa stream .
67.Pp
68The
69.Fn putc
70macro acts essentially identically to
71.Fn fputc ,
38.\"
39.Dd June 4, 1993
40.Dt PUTC 3
41.Os
42.Sh NAME
43.Nm fputc ,
44.Nm putc ,
45.Nm putchar ,

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

64(converted to an ``unsigned char'')
65to the output stream pointed to by
66.Fa stream .
67.Pp
68The
69.Fn putc
70macro acts essentially identically to
71.Fn fputc ,
72but is a macro that expands in-line. It may evaluate
72but is a macro that expands in-line.
73It may evaluate
73.Fa stream
74more than once, so arguments given to
75.Fn putc
76should not be expressions with potential side effects.
77.Pp
78The
79.Fn putchar
80macro

--- 53 unchanged lines hidden ---
74.Fa stream
75more than once, so arguments given to
76.Fn putc
77should not be expressions with potential side effects.
78.Pp
79The
80.Fn putchar
81macro

--- 53 unchanged lines hidden ---