puts(3) Library Functions Manual puts(3) fputc, fputs, putc, putchar, puts - LIBRARY Standard C library (libc, -lc) #include int fputc(int c, FILE *stream); int putc(int c, FILE *stream); int putchar(int c); int fputs(const char *restrict s, FILE *restrict stream); int puts(const char *s); fputc() c, unsigned char, stream. putc() fputc() , , stream . putchar(c) putc(c, stdout). fputs() writes the string s to stream, without its terminating null byte ('\0'). puts() s stdout. stdio . , . unlocked_stdio(3). fputc(), putc(), and putchar() return the character written as an unsigned char cast to an int or EOF on error. puts() fputs() EOF . attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |fputc(), fputs(), putc(), | | MT-Safe | |putchar(), puts() | | | +----------------------------+----------------------------------------------------------+--------------------------+ C11, POSIX.1-2008. POSIX.1-2001, C89, C99. stdio write(2) , . , , , . . write(2), ferror(3), fgets(3), fopen(3), fputwc(3), fputws(3), fseek(3), fwrite(3), putwchar(3), scanf(3), unlocked_stdio(3) Alexey, Azamat Hackimov , kogamatranslator49 , Kogan, Max Is , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . puts(3)