Function lrs::syscall::shutdown

Shuts down (part of) a socket.

Syntax

fn shutdown(sockfd: i32, how: i32) -> i32

Arguments

NameDescription
sockfd

The socket.

how

Which parts to shut down.

Return value

Returns success or an error value.

See also