1msgsize(9F) Kernel Functions for Drivers msgsize(9F)
2
3
4
6 msgsize - Return the total number of bytes in a message
7
9 #include <sys/stream.h>
10 #include <sys/strsun.h>
11
12
13
14 size_t msgsize(mblk_t *mp);
15
16
18 Solaris DDI specific (Solaris DDI)
19
21 mp Message to be evaluated.
22
23
25 The msgsize() function counts the number of bytes in a message, regardā
26 less of the data type of the underlying data blocks.
27
29 Number of bytes in the message.
30
32 This function can be called from user, kernel or interrupt context.
33
35 msgdsize(9F)
36
37
38 STREAMS Programming Guide
39
40
41
42SunOS 5.11 9 June 2004 msgsize(9F)