1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00

it is not cast to a pointer of the specified type, it is cast to the

specified type...

mtod(m, uint8_t) does not work, mtod(m, uint8_t *) does work..
This commit is contained in:
John-Mark Gurney 2014-10-21 17:59:27 +00:00
parent 6da1ceb210
commit d31a976084
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273392

View File

@ -355,7 +355,7 @@ developer with common utilities.
Convert an
.Fa mbuf
pointer to a data pointer.
The macro expands to the data pointer cast to the pointer of the specified
The macro expands to the data pointer cast to the specified
.Fa type .
.Sy Note :
It is advisable to ensure that there is enough contiguous data in