aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index a5a84cff2..3d0daee38 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -228,6 +228,7 @@ int mingw_listen(int sockfd, int backlog);
228int mingw_accept(int sockfd1, struct sockaddr *sa, socklen_t *sz); 228int mingw_accept(int sockfd1, struct sockaddr *sa, socklen_t *sz);
229int mingw_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds, 229int mingw_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds,
230 struct timeval *timeout); 230 struct timeval *timeout);
231int mingw_getpeername(int fd, struct sockaddr *sa, socklen_t *sz);
231 232
232NOIMPL(mingw_sendto,SOCKET s UNUSED_PARAM, const char *buf UNUSED_PARAM, int len UNUSED_PARAM, int flags UNUSED_PARAM, const struct sockaddr *sa UNUSED_PARAM, int salen UNUSED_PARAM); 233NOIMPL(mingw_sendto,SOCKET s UNUSED_PARAM, const char *buf UNUSED_PARAM, int len UNUSED_PARAM, int flags UNUSED_PARAM, const struct sockaddr *sa UNUSED_PARAM, int salen UNUSED_PARAM);
233 234
@@ -240,6 +241,7 @@ NOIMPL(mingw_sendto,SOCKET s UNUSED_PARAM, const char *buf UNUSED_PARAM, int len
240#define shutdown mingw_shutdown 241#define shutdown mingw_shutdown
241#define accept mingw_accept 242#define accept mingw_accept
242#define select mingw_select 243#define select mingw_select
244#define getpeername mingw_getpeername
243 245
244/* 246/*
245 * sys/time.h 247 * sys/time.h
@@ -472,6 +474,7 @@ DIR *mingw_opendir(const char *path);
472#define is_dir_sep(c) ((c) == '/' || (c) == '\\') 474#define is_dir_sep(c) ((c) == '/' || (c) == '\\')
473 475
474pid_t FAST_FUNC mingw_spawn(char **argv); 476pid_t FAST_FUNC mingw_spawn(char **argv);
477pid_t FAST_FUNC mingw_spawn_detach(char **argv);
475intptr_t FAST_FUNC mingw_spawn_proc(const char **argv); 478intptr_t FAST_FUNC mingw_spawn_proc(const char **argv);
476int mingw_execv(const char *cmd, char *const *argv); 479int mingw_execv(const char *cmd, char *const *argv);
477int mingw_execvp(const char *cmd, char *const *argv); 480int mingw_execvp(const char *cmd, char *const *argv);