fputs.c

来自「linux内核」· C语言 代码 · 共 16 行

C
16
字号
/* * fputs.c * * This isn't quite fputs() in the stdio sense, since we don't * have stdio, but it takes a file descriptor argument instead * of the FILE *. */#include <stdio.h>#include <string.h>int fputs(const char *s, FILE *file){  return _fwrite(s, strlen(s), file);}

⌨️ 快捷键说明

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