gnu.cfg: Add support for gettext() and some related functions (#1621)
* gnu.cfg: Add support for gettext() and some related functions Reference (beside some other web sites): https://www.gnu.org/software/libc/manual/html_node/Translation-with-gettext.html
This commit is contained in:
parent
b486eb502a
commit
5c91d7b4e1
49
cfg/gnu.cfg
49
cfg/gnu.cfg
|
@ -719,6 +719,55 @@
|
|||
<valid>0:</valid>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- https://www.gnu.org/software/libc/manual/html_node/Translation-with-gettext.html -->
|
||||
<!-- char * gettext (const char *msgid); -->
|
||||
<function name="gettext">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="char *"/>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
<strz/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- char * dgettext (const char *domainname, const char *msgid); -->
|
||||
<function name="dgettext">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="char *"/>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
<strz/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- char * dcgettext (const char *domainname, const char *msgid, int category); -->
|
||||
<function name="dcgettext">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="char *"/>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-null/>
|
||||
<not-uninit/>
|
||||
<strz/>
|
||||
</arg>
|
||||
<arg nr="3">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<resource>
|
||||
<dealloc>close</dealloc>
|
||||
<alloc init="true">epoll_create</alloc>
|
||||
|
|
Loading…
Reference in New Issue