diff options
author | trhodes <trhodes@FreeBSD.org> | 2003-02-24 05:59:12 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2003-02-24 05:59:12 +0000 |
commit | 76ed67bf98e60cdd29f358cc8cf8d50f8ffd0637 (patch) | |
tree | 14d4a211a6c7464dc01f27860c8d811af5354b84 /share/man/man9/mbuf.9 | |
parent | aeedc1f513c05f477560d0d557b422ec6900caee (diff) | |
download | FreeBSD-src-76ed67bf98e60cdd29f358cc8cf8d50f8ffd0637.zip FreeBSD-src-76ed67bf98e60cdd29f358cc8cf8d50f8ffd0637.tar.gz |
Return bits which were removed in revision 1.22.
Requested by: imp
Diffstat (limited to 'share/man/man9/mbuf.9')
-rw-r--r-- | share/man/man9/mbuf.9 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index 4cf163f..b10e6ea 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -278,14 +278,14 @@ on failure. The .Fa how argument is to be set to -.Dv 0 +.Dv M_TRYWAIT or -.Dv M_NOWAIT . +.Dv M_DONTWAIT . It specifies whether the caller is willing to block if necessary. If .Fa how is set to -.Dv 0 , +.Dv M_TRYWAIT , a failed allocation will result in the caller being put to sleep for a designated kern.ipc.mbuf_wait @@ -295,6 +295,14 @@ number of ticks. A number of other mbuf-related functions and macros have the same argument because they may at some point need to allocate new mbufs. +.Pp +Programmers should be careful not to confuse the mbuf allocation flag +.Dv M_DONTWAIT +with the +.Xr malloc 9 +allocation flag, +.Dv M_NOWAIT . +They are not the same. .It Fn MGETHDR mbuf how type Allocate an mbuf and initialize it to contain a packet header and internal data. |