Added _socket_interrupt() for compatibility.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19409 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -22,6 +22,7 @@ struct net_settings;
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
int *_h_errnop(void);
|
int *_h_errnop(void);
|
||||||
int _netstat(int fd, char **output, int verbose);
|
int _netstat(int fd, char **output, int verbose);
|
||||||
|
int _socket_interrupt(void);
|
||||||
int closesocket(int socket);
|
int closesocket(int socket);
|
||||||
char *find_net_setting(net_settings* settings, const char* heading,
|
char *find_net_setting(net_settings* settings, const char* heading,
|
||||||
const char* name, char* value, unsigned numBytes);
|
const char* name, char* value, unsigned numBytes);
|
||||||
@@ -49,6 +50,13 @@ _netstat(int fd, char **output, int verbose)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
|
_socket_interrupt(void)
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
closesocket(int socket)
|
closesocket(int socket)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user