Skip to content

Commit 28da263

Browse files
committed
gnu.cfg: Added support for qsort_r().
1 parent 0ec2d5f commit 28da263

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

cfg/gnu.cfg

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,30 @@
11571157
<valid>0:</valid>
11581158
</arg>
11591159
</function>
1160+
<!-- https://man7.org/linux/man-pages/man3/qsort.3.html -->
1161+
<!-- void qsort_r(void *base, size_t n, size_t size, int (*cmp)(const void *, const void *, void *), void *arg); -->
1162+
<function name="qsort_r">
1163+
<noreturn>false</noreturn>
1164+
<returnValue type="void"/>
1165+
<leak-ignore/>
1166+
<arg nr="1" direction="inout">
1167+
<not-null/>
1168+
<not-uninit/>
1169+
<minsize type="argvalue" arg="2"/>
1170+
</arg>
1171+
<arg nr="2" direction="in">
1172+
<not-uninit/>
1173+
<valid>0:</valid>
1174+
</arg>
1175+
<arg nr="3" direction="in">
1176+
<not-uninit/>
1177+
<valid>0:</valid>
1178+
</arg>
1179+
<arg nr="4" direction="out">
1180+
<not-null/>
1181+
<not-bool/>
1182+
</arg>
1183+
</function>
11601184
<!-- http://man7.org/linux/man-pages/man3/ffs.3.html -->
11611185
<!-- int ffsl(long int i);
11621186
int ffsll(long long int i); -->

0 commit comments

Comments
 (0)