Skip to content

fputs : write a character string in a file or stream

#include <stdio.h>
int fputs(const char *s, FILE *fp);
```### Description
fputs writes the string at s (but without the trailing null) to the file or stream identified by fp.### Returns
If successful, the result is 0; otherwise, the result is EOF.
---
**Authoritative source**: BUSMASTER DITA help source `fputs.dita`, compiled into `BUSMASTER.CHM` with the application.