Skip to content

Commit 3e34495

Browse files
authored
posix.cfg: Added support for dlerror() (danmar#7150)
Reference: https://www.man7.org/linux/man-pages/man3/dlerror.3.html
1 parent fb177d8 commit 3e34495

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cfg/posix.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,13 @@
511511
<not-uninit/>
512512
</arg>
513513
</function>
514+
<!-- see https://www.man7.org/linux/man-pages/man3/dlerror.3.html -->
515+
<!-- char *dlerror(void); -->
516+
<function name="dlerror">
517+
<noreturn>false</noreturn>
518+
<use-retval/>
519+
<returnValue type="char*"/>
520+
</function>
514521
<!-- see http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlopen.html -->
515522
<!-- void *dlopen(const char *file, int mode); -->
516523
<function name="dlopen">

0 commit comments

Comments
 (0)