Amiga Unix — 68040 · 68060

Manual pages › BSD C library (3B)

string(3B)

string operations

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

Also by this name: strncasecmp(3), Libraries: curses, OPEN LOOK and others · string(3C), C library

NAME

string: strcasecmp, strncasecmp - string operations

SYNOPSIS

cc [ flag... ] file ... -lucb
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) in the Programmer's Refer-
ence Manual.

NOTES

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