Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
352257ca
Commit
352257ca
authored
Apr 17, 1999
by
Per Cederqvist
Browse files
(isc_relocate_fd): New function.
parent
4afbdbab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libraries/libisc-new/src/intern.h
View file @
352257ca
...
...
@@ -98,6 +98,16 @@ extern void
isc_setabortfn
(
void
(
*
abortfn
)(
const
char
*
msg
));
/*
* Move a file descriptor FD the first unused file descriptor higher
* than LIMIT. Return the new file descriptor. Close FD.
*
* On failure, the old FD will be returned, and errno will be set.
*
* Do nothing (and return FD) if LIMIT is 0.
*/
extern
int
isc_relocate_fd
(
int
fd
,
int
limit
);
#define ISC_XNEW(var) (var = isc_malloc(sizeof(*var)))
...
...
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