Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ string(3) — Atari System V ue12

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bstring(3)

malloc(3C)

string(3C)





   string(3)               (BSD Compatibility Package)               string(3)


   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 Reference Manual.

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
























   7/91                                                                 Page 1





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