summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/libc/src/fnmatchh.inc
blob: b80f0cc22194a0d5570fd3d898cd1ed6513e0820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24


    const
       FNM_PATHNAME = 1 shl 0;
       FNM_NOESCAPE = 1 shl 1;
       FNM_PERIOD = 1 shl 2;

       FNM_FILE_NAME = FNM_PATHNAME;
       FNM_LEADING_DIR = 1 shl 3;
       FNM_CASEFOLD = 1 shl 4;
       FNM_EXTMATCH = 1 shl 5;

    const
       FNM_NOMATCH = 1;

       FNM_NOSYS = -(1);

function fnmatch(__pattern:Pchar; __name:Pchar; __flags:longint):longint;cdecl;external clib name 'fnmatch';

{ ---------------------------------------------------------------------
    Borland compatibility types
  ---------------------------------------------------------------------}

// Type