puts.3

来自「Unix操作系统minix 2.0源码」· 3 代码 · 共 60 行

3
60
字号


PUTS(3)                   Minix Programmer's Manual                    PUTS(3)


NAME
     puts, fputs - put a string on a stream

SYNOPSIS
     #include <stdio.h>

     int puts(char *s)
     int fputs(char *s, FILE *stream)

DESCRIPTION
     Puts copies the null-terminated string s to the  standard  output  stream
     stdout and appends a newline character.

     Fputs copies the null-terminated string s to the named output stream.

     Neither routine copies the terminal null character.

SEE ALSO
     fopen(3), gets(3), putc(3), printf(3), ferror(3), fread(3).

BUGS
     Puts appends a newline, fputs does not,  all  in  the  name  of  backward
     compatibility.





























                                May 15, 1985                                 1

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?