Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fnmatch(5) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fnmatch(3C)

fnmatch(5)                                                       fnmatch(5)

NAME
     fnmatch - filename-matching types

SYNOPSIS
     #include <fnmatch.h>

DESCRIPTION
     The fnmatch.h header defines the flags and return values used by the
     fnmatch(3C) function. The following constants are defined:

     FNMBADPAT
          An unknown pattern or an unknown flag was specified.

     FNMNOMATCH
          The string does not match the specified pattern.

     FNMPATHNAME
          Slash in string only matches slash in pattern.

     FNMPERIOD
          Leading period in string must be exactly matched by period in
          pattern.

     FNMNOESCAPE
          Disable backslash escaping.

     FNMRANGEOK
          A range specification in the format [m-n-r] is interpreted as
          [m-r].

     FNMRANGEERR
          A range specification in the format [m-n-r] is detected as an
          error.

     FNMCLRANGEERR
          A range specification in the format [[=m=]-r is detected as an
          error.

     FNMNOSYS
          The implementation does not support this function.

     The following is declared as a function and may also be declared as a
     macro:

     int fnmatch (const char *pattern, const char *string, int flags);

SEE ALSO
     fnmatch(3C).







Page 1                       Reliant UNIX 5.44                Printed 11/98

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