SysTutorials

Linux Manual Pages › Section 9

sk_has_allocations(9)

sk_has_allocations – check if allocations are outstanding

Synopsis

bool sk_has_allocations(const struct sock * sk);

Arguments

sk

socket

Description

Returns true if socket has write or read allocations

Copyright