File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 99#include <sys/types.h>
1010
1111
12- extern inline ssize_t readlinknul (const char * restrict link , char * restrict buf ,
13- ssize_t size );
12+ extern inline ssize_t readlinknul (ssize_t size ;
13+ const char * restrict link , char buf [restrict size ], ssize_t size );
Original file line number Diff line number Diff line change 2121
2222
2323ATTR_STRING (1 )
24- inline ssize_t readlinknul (const char * restrict link , char * restrict buf ,
25- ssize_t size );
24+ inline ssize_t readlinknul (ssize_t size ;
25+ const char * restrict link , char buf [restrict size ], ssize_t size );
2626
2727
2828// Similar to readlink(2), but terminate the string.
2929inline ssize_t
30- readlinknul (const char * restrict link , char * restrict buf , ssize_t size )
30+ readlinknul (ssize_t size ;
31+ const char * restrict link , char buf [restrict size ], ssize_t size )
3132{
3233 ssize_t len ;
3334
You can’t perform that action at this time.
0 commit comments