This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
st
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
No inline declarations please.
master
Christoph Lohmann
10 years ago
parent
41f70a1cff
commit
d3c7b6fb73
1 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
st.c
+ 2
- 2
st.c
View File
@ -558,10 +558,10 @@ static int frclen = 0;
ssize_t
ssize_t
xwrite
(
int
fd
,
const
char
*
s
,
size_t
len
)
xwrite
(
int
fd
,
const
char
*
s
,
size_t
len
)
{
{
size_t
aux
=
len
;
size_t
aux
=
len
,
r
;
while
(
len
>
0
)
{
while
(
len
>
0
)
{
ssize_t
r
=
write
(
fd
,
s
,
len
)
;
r
=
write
(
fd
,
s
,
len
)
;
if
(
r
<
0
)
if
(
r
<
0
)
return
r
;
return
r
;
len
-
=
r
;
len
-
=
r
;
Write
Preview
Loading…
Cancel
Save