source: trunk/minix/man/man3/puts.3@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 727 bytes
Line 
1.\" @(#)puts.3s 6.1 (Berkeley) 5/15/85
2.\"
3.TH PUTS 3 "May 15, 1985"
4.AT 3
5.SH NAME
6puts, fputs \- put a string on a stream
7.SH SYNOPSIS
8.nf
9.ft B
10#include <stdio.h>
11
12int puts(char *\fIs\fP)
13int fputs(char *\fIs\fP, FILE *\fIstream\fP)
14.ft P
15.fi
16.SH DESCRIPTION
17.B Puts
18copies the null-terminated string
19.I s
20to the standard output stream
21.B stdout
22and appends a
23newline character.
24.PP
25.B Fputs
26copies the null-terminated string
27.I s
28to the named output
29.IR stream .
30.PP
31Neither routine copies the terminal null character.
32.SH "SEE ALSO"
33.BR fopen (3),
34.BR gets (3),
35.BR putc (3),
36.BR printf (3),
37.BR ferror (3),
38.BR fread (3).
39.SH BUGS
40.B Puts
41appends a newline,
42.B fputs
43does not, all in the name of backward compatibility.
Note: See TracBrowser for help on using the repository browser.