You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cfg/posix.cfg
+34-1Lines changed: 34 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,7 @@
71
71
<!-- struct group *getgrnam(const char *name); -->
72
72
<function name="getgrnam">
73
73
<use-retval/>
74
+
<returnValue type="struct group *"/>
74
75
<noreturn>false</noreturn>
75
76
<leak-ignore/>
76
77
<arg nr="1">
@@ -80,6 +81,7 @@
80
81
<!-- struct group *getgrgid(gid_t gid);-->
81
82
<function name="getgrgid">
82
83
<use-retval/>
84
+
<returnValue type="struct group *"/>
83
85
<noreturn>false</noreturn>
84
86
<leak-ignore/>
85
87
<arg nr="1">
@@ -369,6 +371,7 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
369
371
<!-- struct rpcent *getrpcent(void); -->
370
372
<function name="getrpcent">
371
373
<use-retval/>
374
+
<returnValue type="struct rpcent *"/>
372
375
<noreturn>false</noreturn>
373
376
<leak-ignore/>
374
377
<warn severity="portability">Non reentrant function 'getrpcent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getrpcent_r'.</warn>
@@ -378,17 +381,19 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
378
381
<use-retval/>
379
382
<noreturn>false</noreturn>
380
383
<leak-ignore/>
384
+
<returnValue type="struct rpcent *"/>
381
385
<arg nr="1">
382
386
<not-null/>
383
387
<not-uninit/>
384
388
</arg>
385
389
<warn severity="portability">Non reentrant function 'getrpcbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getrpcbyname_r'.</warn>
@@ -399,13 +404,15 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
399
404
<use-retval/>
400
405
<noreturn>false</noreturn>
401
406
<leak-ignore/>
407
+
<returnValue type="struct protoent *"/>
402
408
<warn severity="portability">Non reentrant function 'getprotoent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotoent_r'.</warn>
@@ -417,6 +424,7 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
417
424
<use-retval/>
418
425
<noreturn>false</noreturn>
419
426
<leak-ignore/>
427
+
<returnValue type="struct protoent *"/>
420
428
<arg nr="1">
421
429
<not-uninit/>
422
430
</arg>
@@ -427,13 +435,15 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
427
435
<use-retval/>
428
436
<noreturn>false</noreturn>
429
437
<leak-ignore/>
438
+
<returnValue type="struct servent *"/>
430
439
<warn severity="portability">Non reentrant function 'getservent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservent_r'.</warn>
@@ -448,6 +458,7 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
448
458
<use-retval/>
449
459
<noreturn>false</noreturn>
450
460
<leak-ignore/>
461
+
<returnValue type="struct servent *"/>
451
462
<arg nr="1">
452
463
<not-uninit/>
453
464
</arg>
@@ -461,13 +472,15 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
461
472
<use-retval/>
462
473
<noreturn>false</noreturn>
463
474
<leak-ignore/>
475
+
<returnValue type="struct netent *"/>
464
476
<warn severity="portability">Non reentrant function 'getnetent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetent_r'.</warn>
@@ -479,6 +492,7 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
479
492
<use-retval/>
480
493
<noreturn>false</noreturn>
481
494
<leak-ignore/>
495
+
<returnValue type="struct netent *"/>
482
496
<arg nr="1">
483
497
<not-uninit/>
484
498
</arg>
@@ -492,13 +506,15 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
492
506
<use-retval/>
493
507
<noreturn>false</noreturn>
494
508
<leak-ignore/>
509
+
<returnValue type="struct hostent *"/>
495
510
<warn severity="portability">Non reentrant function 'gethostent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gethostent_r'.</warn>
@@ -1021,6 +1044,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
1021
1044
<!-- FILE *fdopen(int fd, const char *mode); -->
1022
1045
<function name="fdopen">
1023
1046
<use-retval/>
1047
+
<returnValue type="FILE *"/>
1024
1048
<noreturn>false</noreturn>
1025
1049
<arg nr="1">
1026
1050
<not-uninit/>
@@ -1048,6 +1072,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
1048
1072
<function name="readdir">
1049
1073
<noreturn>false</noreturn>
1050
1074
<leak-ignore/>
1075
+
<returnValue type="struct dirent *"/>
1051
1076
<arg nr="1">
1052
1077
<not-null/>
1053
1078
<not-uninit/>
@@ -1246,6 +1271,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
1246
1271
<!-- void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset); -->
1247
1272
<function name="mmap">
1248
1273
<use-retval/>
1274
+
<returnValue type="void *"/>
1249
1275
<noreturn>false</noreturn>
1250
1276
<leak-ignore/>
1251
1277
<arg nr="1">
@@ -1271,6 +1297,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
1271
1297
<!-- void *mmap64(void *addr, size_t length, int prot, int flags, int fd, off64_t offset); -->
1272
1298
<function name="mmap64">
1273
1299
<use-retval/>
1300
+
<returnValue type="void *"/>
1274
1301
<noreturn>false</noreturn>
1275
1302
<leak-ignore/>
1276
1303
<arg nr="1">
@@ -1851,12 +1878,14 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
1851
1878
<!--struct passwd *getpwent(void); -->
1852
1879
<function name="getpwent">
1853
1880
<use-retval/>
1881
+
<returnValue type="struct passwd *"/>
1854
1882
<noreturn>false</noreturn>
1855
1883
<warn severity="portability">Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'.</warn>
1856
1884
</function>
1857
1885
<!--struct passwd *getpwnam(const char *); -->
1858
1886
<function name="getpwnam">
1859
1887
<use-retval/>
1888
+
<returnValue type="struct passwd *"/>
1860
1889
<noreturn>false</noreturn>
1861
1890
<arg nr="1">
1862
1891
<not-uninit/>
@@ -1913,6 +1942,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
1913
1942
<!-- struct passwd *getpwuid(uid_t uid); -->
1914
1943
<function name="getpwuid">
1915
1944
<use-retval/>
1945
+
<returnValue type="struct passwd *"/>
1916
1946
<noreturn>false</noreturn>
1917
1947
<arg nr="1">
1918
1948
<not-uninit/>
@@ -2723,6 +2753,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
2723
2753
<!-- int pthread_join(pthread_t thread, void **value_ptr); -->
2724
2754
<function name="pthread_join">
2725
2755
<noreturn>false</noreturn>
2756
+
<returnValue type="int"/>
2726
2757
<arg nr="1">
2727
2758
<not-uninit/>
2728
2759
</arg>
@@ -3126,6 +3157,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
3126
3157
<!-- void *shmat(int shmid, const void *shmaddr, int shmflg); -->
3127
3158
<function name="shmat">
3128
3159
<noreturn>false</noreturn>
3160
+
<returnValue type="void *"/>
3129
3161
<leak-ignore/>
3130
3162
<arg nr="1">
3131
3163
<not-uninit/>
@@ -3202,6 +3234,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
0 commit comments