Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ string_bsd(3) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bstring(3)

malloc(3C)

string(3C)

string(3)  —  LIBRARY FUNCTIONS

NAME

string:  strcasecmp, strncasecmp − string operations

SYNOPSIS

/usr/ucb/cc [ flag. . . ] file . . .

int strcasecmp(s1, s2)
char ∗s1, ∗s2;

int strncasecmp(s1, s2, n)
char ∗s1, ∗s2;
int n;

DESCRIPTION

The strcasecmp and strncasecmp routines compare the strings and ignore differences in case.  These routines assume the ASCII character set when equating lower and upper case characters. 

These functions operate on null-terminated strings.  They do not check for overflow of any receiving string. 

SEE ALSO

bstring(3), malloc(3C), string(3C). 

NOTES

strcasecmp and strncasecmp use native character comparison as above and assume the ASCII character set. 

  —  BSD Compatibility Package

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026