Last change
on this file was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
288 bytes
|
Rev | Line | |
---|
[e16e8f2] | 1 | /* |
---|
| 2 | * fputs.c |
---|
| 3 | * |
---|
| 4 | * This isn't quite fputs() in the stdio sense, since we don't |
---|
| 5 | * have stdio, but it takes a file descriptor argument instead |
---|
| 6 | * of the FILE *. |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include <stdio.h> |
---|
| 10 | #include <string.h> |
---|
| 11 | |
---|
| 12 | int fputs(const char *s, FILE * file) |
---|
| 13 | { |
---|
| 14 | return _fwrite(s, strlen(s), file); |
---|
| 15 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.