File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 <not-bool/>
1515 </arg>
1616 </function>
17+ <!-- https://man7.org/linux/man-pages/man3/aio_read.3.html -->
18+ <!-- int aio_read(struct aiocb *aiocbp); -->
19+ <function name =" aio_read" >
20+ <use-retval/>
21+ <returnValue type =" int" />
22+ <noreturn>false</noreturn>
23+ <leak-ignore/>
24+ <arg nr =" 1" direction =" inout" >
25+ <not-null/>
26+ <not-bool/>
27+ </arg>
28+ </function>
1729 <!-- https://man7.org/linux/man-pages/man3/aio_suspend.3.html -->
1830 <!-- int aio_suspend(const struct aiocb *const aiocb_list[], int nitems, const struct timespec *restrict timeout); -->
1931 <function name =" aio_suspend" >
Original file line number Diff line number Diff line change 3030#include <wchar.h>
3131#include <string.h>
3232
33+ int nullPointer_aio_read (struct aiocb * aiocbp )
34+ {
35+ // cppcheck-suppress nullPointer
36+ (void )aio_read (NULL );
37+ // No warning is expected
38+ return aio_read (aiocbp );
39+ }
40+
3341int nullPointer_aio_suspend (const struct aiocb * const aiocb_list [], int nitems , const struct timespec * restrict timeout )
3442{
3543 // cppcheck-suppress nullPointer
You can’t perform that action at this time.
0 commit comments