Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
e0aa66db
Commit
e0aa66db
authored
26 years ago
by
Fredrik Hübinette (Hubbe)
Browse files
Options
Downloads
Patches
Plain Diff
now works on ultrix
Rev: src/fd_control.c:1.21
parent
e4439c1b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fd_control.c
+9
-19
9 additions, 19 deletions
src/fd_control.c
with
9 additions
and
19 deletions
src/fd_control.c
+
9
−
19
View file @
e0aa66db
...
@@ -9,9 +9,9 @@
...
@@ -9,9 +9,9 @@
#include
"error.h"
#include
"error.h"
#include
"fdlib.h"
#include
"fdlib.h"
RCSID
(
"$Id: fd_control.c,v 1.2
0
1998/0
7/15 13:59:12 gr
ubb
a
Exp $"
);
RCSID
(
"$Id: fd_control.c,v 1.2
1
1998/0
9/01 20:28:08 h
ubb
e
Exp $"
);
#else
#else
/* TESTING */
#ifndef _LARGEFILE_SOURCE
#ifndef _LARGEFILE_SOURCE
# define _FILE_OFFSET_BITS 64
# define _FILE_OFFSET_BITS 64
# define _LARGEFILE_SOURCE 1
# define _LARGEFILE_SOURCE 1
...
@@ -53,6 +53,13 @@ RCSID("$Id: fd_control.c,v 1.20 1998/07/15 13:59:12 grubba Exp $");
...
@@ -53,6 +53,13 @@ RCSID("$Id: fd_control.c,v 1.20 1998/07/15 13:59:12 grubba Exp $");
#ifdef HAVE_SYS_SOCKIO_H
#ifdef HAVE_SYS_SOCKIO_H
#include
<sys/sockio.h>
#include
<sys/sockio.h>
#endif
#endif
#ifdef HAVE_NETINET_IN_H
#include
<netinet/in.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include
<arpa/inet.h>
#endif
int
set_nonblocking
(
int
fd
,
int
which
)
int
set_nonblocking
(
int
fd
,
int
which
)
{
{
...
@@ -182,23 +189,6 @@ RETSIGTYPE sigalrm_handler1(int tmp)
...
@@ -182,23 +189,6 @@ RETSIGTYPE sigalrm_handler1(int tmp)
fprintf
(
stderr
,
"Failed in alarm handler 1
\n
"
);
fprintf
(
stderr
,
"Failed in alarm handler 1
\n
"
);
exit
(
1
);
exit
(
1
);
}
}
#ifdef HAVE_SOCKETPAIR
#ifdef HAVE_NETINET_IN_H
#include
<netinet/in.h>
#endif
#ifdef HAVE_WINSOCK_H
#include
<winsock.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include
<arpa/inet.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include
<arpa/inet.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include
<sys/socket.h>
#endif
#endif
/* HAVE_SOCKETPAIR */
int
main
()
int
main
()
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment