/usr/include/wvstreams/wvsocketpair.h is in libwvstreams-dev 4.6.1-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #ifndef __WVSOCKETPAIR_H
#define __WVSOCKETPAIR_H
#ifndef _WIN32
#include <sys/socket.h>
#endif
/**
* Like socketpair(), but works in win32 and doesn't ask you about the
* protocol (since that's irrelevant, really). 'type' is like the type
* parameter to socketpair(), and should be either SOCK_DGRAM or SOCK_STREAM.
*
* The return value and errno codes are the same as for socketpair().
*/
int wvsocketpair(int type, int socks[2]);
#endif // __WVSOCKETPAIR_H
|