1 .\" (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date. The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein. The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" Modified Sat Jul 24 18:42:59 1993 by Rik Faith (faith@cs.unc.edu)
24 .\" Translated to German Sat May 18 18:45:00 1996 by Patrick Rother <krd@gulu.net>
26 .TH PUTS 3 "18. Mai 1996" "GNU" "Bibliotheksfunktionen"
28 fputc, fputs, putc, putchar, puts \- Ausgabe von Zeichen und Zeichenketten (Strings)
33 .BI "int fputc(int " c ", FILE *" stream ");"
35 .BI "int fputs(const char *" "s" ", FILE *" "stream" ");"
37 .BI "int putc(int " c ", FILE *" stream ");"
39 .BI "int putchar(int " c ");"
41 .BI "int puts(char *" "s" ");"
43 .BI "int ungetc(int " c ", FILE *" stream ");"
55 schreibt die Zeichenkette
57 ohne sein nachfolgendes
65 außer, dass es als ein Makro implementiert den
67 mehr als einmal auswertet.
71 .BI "putc(" c , stdout ).
74 schreibt die Zeichenkette
76 und einen nachfolgenden Zeilenumbruch in die Standardausgabe
79 Aufrufe der hier beschriebenen Funktionen können untereinander und mit
80 anderen Aufrufen von Ausgabefunktionen der Bibliothek
82 für den selben Ausgabekanal gemischt werden.
84 .BR fputc() ", " putc() " und " putchar()
87 geschriebene und in ein
89 umgesetzte Zeichen zurück, oder
93 .BR puts() " und " fputs()
94 geben bei Erfolg eine nichtnegative Zahl zurück, oder
101 Es ist nicht ratsam, Aufrufe von Ausgabefunktionen der Bibliothek
103 mit lowlevel-Aufrufen von
105 zu vermischen, wenn der Dateideskriptor denselben Ausgabekanal
106 bezeichnet. Die Ergebnisse sind undefiniert und sehr wahrscheinlich
107 nicht die gewünschten.