DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

strfiles - show all the streams associated with a process

SYNOPSIS

strfiles address

DESCRIPTION

The strfiles macro is given the address of a process as an argument. It is used to show all the streams associated with that process.

The strfiles structure is defined in /usr/include/sys/strsubr.h

Typical output looks like this:

 S> strfiles *curproc
  stream D1277200  iocwwait 0000  rerr 00000000   werr 00000000  pushcnt 00000000
  flag   00010000: OLDNDELAY     sigflg 00000000:
  evflag 00000000:     pollevents 0000:
  sd_vnode     D1264400:
  dev             00/00:
  sd_sidp      00000000:
  sd_pgidp     00000000:
  sd_eventlist 00000000:

  queues D128DC00, D128DC4C
  Downstream from queue D128DC4C:
  queue    bsrv     idname   ptr   count cpu plumbing:sched:flag
  D128DC4C 00000000 strwhead D1277200 00 UBND PROCSON USE
  D128DC00 D128DC4C strrhead D1277200 00 UBND PROCSON READR USE
  Upstream from queue D128DC00:
  queue    bsrv     idname   ptr   count cpu plumbing:sched:flag
  D128DC00 D128DC4C strrhead D1277200 00 UBND PROCSON READR USE
  stream D128D380  iocwwait 0000  rerr 00000000   werr 00000000  pushcnt 00000000
  flag   00000000:     sigflg 00000000:
  evflag 00000000:     pollevents 0000:
  sd_vnode     D128D504:
  dev             09/00:
  sd_sidp      00000000:
  sd_pgidp     00000000:
  sd_eventlist 00000000:

DEFINED IN

file.k

SEE ALSO

file, stream, vnode

APPENDIX A: Alphabetic Index of Macros