posix.cfg: Added support for fnmatch.

This commit is contained in:
orbitcowboy 2016-05-24 16:17:09 +02:00
parent f2ae295f1e
commit e76518d800
1 changed files with 18 additions and 0 deletions

View File

@ -2741,6 +2741,24 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<not-null/>
</arg>
</function>
<!-- http://man7.org/linux/man-pages/man3/fnmatch.3.html -->
<!-- int fnmatch(const char *pattern, const char *string, int flags); -->
<function name="fnmatch">
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
<not-null/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
</function>
<memory>
<alloc init="true">strdup</alloc>
<alloc init="true">strndup</alloc>