---
name: "XmStringByteStreamLength"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmStringByteStreamLength"
---

# XmStringByteStreamLength(3)

A function that returns the size of a string

## NAME

**XmStringByteStreamLength** — A function that returns the size of a string

## SYNOPSIS

```
#include <Xm/Xm.h>
unsigned int XmStringByteStreamLength (string)
        unsigned char   *string;
(void)
```

## DESCRIPTION

**XmStringByteStreamLength** receives a byte stream format string and returns the size, in bytes, of that stream, including the header. Because of this header information, even a NULL *string* will cause **XmStringByteStreamLength** to return a non-zero value.

- *string*

  Specifies the byte stream format string.

## RETURN VALUES

Returns the size of *string*, including the header.
