chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
vol_id: fix sloppy error handling
[elogind.git]
/
klibc
/
klibc
/
fputs.c
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
}