Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ara Adkins
Glasgow Haskell Compiler
Commits
c8e1c7fa
Commit
c8e1c7fa
authored
Jun 02, 2004
by
simonmar
Browse files
[project @ 2004-06-02 16:00:02 by simonmar]
Add __hscore_PrelHandle_{send,recv}
parent
40078dee
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/base/include/HsBase.h
View file @
c8e1c7fa
...
...
@@ -406,6 +406,18 @@ __hscore_PrelHandle_read( HsInt fd, HsAddr ptr, HsInt off, int sz )
}
INLINE
HsInt
__hscore_PrelHandle_send
(
HsInt
fd
,
HsAddr
ptr
,
HsInt
off
,
int
sz
)
{
return
send
(
fd
,(
char
*
)
ptr
+
off
,
sz
,
0
);
}
INLINE
HsInt
__hscore_PrelHandle_recv
(
HsInt
fd
,
HsAddr
ptr
,
HsInt
off
,
int
sz
)
{
return
recv
(
fd
,(
char
*
)
ptr
+
off
,
sz
,
0
);
}
#if defined(mingw32_TARGET_OS) || defined(_MSC_VER)
INLINE
long
*
__hscore_Time_ghcTimezone
(
void
)
{
return
&
_timezone
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment