---
name: "sk_has_allocations"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/sk_has_allocations"
---

# sk\_has\_allocations(9)

check if allocations are outstanding

## NAME

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
