stralloc_diff(3)

stralloc_diff3

Compare two strallocs

Usage

#include <libowfat/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

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–11
  2. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.