DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

strfollow - Display the upstream and downstream queues

SYNOPSIS

strfollow address

DESCRIPTION

The strfollow macro takes one argument, the address of a stream queue. It is used to display the queues that the given queue points to. This macro is usually used by the stream macro to chase the chain of queues making up a stream.

The queue structure is defined in /usr/include/sys/stream.h

First run the streams or streams_muxs macro and use the queue or queues address as an argument to strfollow.

Typical output looks like this:

 S> strfollow D12A3A4C
  Downstream from queue D12A3A4C:
  queue    bsrv     idname   ptr   count cpu plumbing:sched:flag
  D12A3A4C 00000000 strwhead D12FD580 00 UBND PROCSON USE
  D12ADB4C D12A3A4C sockmod  D02CB1EC 00 UBND PROCSON WANTR USE
  D12B374C D12ADB4C strm     00000000 00 0000 PROCSON WANTR USE
  D12A744C D12B374C tco      D12B0E00 00 0000 PROCSON WANTR USE

DEFINED IN

streams.k

SEE ALSO

streams, streams_muxs

APPENDIX A: Alphabetic Index of Macros