Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
fnmatch_ar.c File Reference
#include <windows.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <errno.h>
#include <fcntl.h>
#include <ctype.h>
#include <math.h>
#include <wctype.h>
#include <wchar.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <locale.h>
#include <signal.h>
#include <limits.h>
#include <float.h>
#include <iso646.h>
#include <assert.h>
#include <stdbool.h>

Functions

bool strmatch (char str[], char pattern[], int n, int m)
 
int main ()
 

Function Documentation

◆ main()

int main ( void )

◆ strmatch()

bool strmatch ( char str[],
char pattern[],
int n,
int m )

Function that matches input str with given wildcard pattern, it is amazing and case sensitive but it is easy to convert to case insensitive

Parameters
strthe input filename
patternthe wildcard or filename
nthe size of str
mthe size of pattern
Returns
true if it matchs, false otherwise