We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ebefd7b + a44cc00 commit b765da8Copy full SHA for b765da8
src/unix/mod.rs
@@ -1354,10 +1354,17 @@ extern "C" {
1354
dev: ::dev_t,
1355
) -> ::c_int;
1356
pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int;
1357
+ pub fn endservent();
1358
pub fn getservbyname(
1359
name: *const ::c_char,
1360
proto: *const ::c_char,
1361
) -> *mut servent;
1362
+ pub fn getservbyport(
1363
+ port: ::c_int,
1364
+ proto: *const ::c_char,
1365
+ ) -> *mut servent;
1366
+ pub fn getservent() -> *mut servent;
1367
+ pub fn setservent(stayopen: ::c_int);
1368
pub fn getprotobyname(name: *const ::c_char) -> *mut protoent;
1369
pub fn getprotobynumber(proto: ::c_int) -> *mut protoent;
1370
pub fn chroot(name: *const ::c_char) -> ::c_int;
0 commit comments