---
name: "sk_wmem_alloc_get"
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_wmem_alloc_get"
---

# sk\_wmem\_alloc\_get(9)

returns write allocations

## NAME

sk\_wmem\_alloc\_get - returns write allocations

## SYNOPSIS

**int sk\_wmem\_alloc\_get(const struct sock \*** *sk***);**

## ARGUMENTS

*sk*

socket

## DESCRIPTION

Returns sk\_wmem\_alloc minus initial offset of one

## COPYRIGHT
