xref: /aosp_15_r20/external/libcap/contrib/capso/capso.h (revision 2810ac1b38eead2603277920c78344c84ddf3aff)
1 #ifndef CAPSO_H
2 #define CAPSO_H
3 
4 /*
5  * bind80 returns a socket filedescriptor that is bound to port 80 of
6  * the provided service address.
7  *
8  * Example:
9  *
10  *   int fd = bind80("localhost");
11  *
12  * fd < 0 in the case of error.
13  */
14 extern int bind80(const char *hostname);
15 
16 #endif /* ndef CAPSO_H */
17