]> The Tcpdump Group git mirrors - tcpdump/commit
Add the fn_print_str() function
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 18 May 2018 20:18:46 +0000 (22:18 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 18 May 2018 21:05:01 +0000 (23:05 +0200)
commit7187e01f8f04a26305a937a9ef064ecb6c5a8f26
tree04e84a7e046a21fafd6be0740609a44b8f40e4c3
parent6e1fdd00a653e1c898689302a9a481d470ea80f7
Add the fn_print_str() function

This function print a null-terminated string, filtering out non-printable
characters.
DON'T USE IT with a pointer on the packet buffer because there is no
truncation check. For this use, see the nd_printX() functions.
netdissect.h
util-print.c