Skip to content
On this page

putchar()


标签:clang/io  
c
#include <stdio.h>
int fputc(int c, FILE *stream);
int fputs(const char *s, FILE *stream);
int putc(int c, FILE *stream);
int putchar(int c);
int puts(const char *s);

函数简介

c
#include <stdio.h>
int fputc(int c, FILE *stream);

相当于 putc(c, stdout) 的封装,而 putc 相当于 fputc

遇到 \0 结束。

对应的输入是 getchar()

fputs()

#TBD

Last updated: