repo.or.cz
/
syslinux-debian
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding upstream version 3.35.
[syslinux-debian/hramrach.git]
/
com32
/
lib
/
fputs.c
blob
4b68f96886da4ccaaca2f75cd8d33f7c61bc2ebc
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
}