stralloc_diff(3diet)

stralloc_diff3diet

Compare two strallocs

Usage

#include <stralloc.h>

int stralloc_diff(const stralloc* a,const stralloc* b);

Overview

stralloc_diff returns negative, 0, or positive, depending on whether a is lexicographically smaller than, equal to, or greater than the string b.

Return value

<0 if a<b, 0 if a==b, >0 if a>b.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

From libowfat-dev 0.28-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.