home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 202.img / SCO386N2.TD0 / usr / sys / conf / routines < prev    next >
Encoding:
Text File  |  1987-09-17  |  729 b   |  34 lines

  1. :
  2. #
  3. #    %Z% %M% %I% %D% %Q%
  4. #
  5. #    Copyright (C) The Santa Cruz Operation, 1986, 1987.
  6. #    Copyright (C) Microsoft Corporation, 1986, 1987.
  7. #    This Module contains Proprietary Information of
  8. #    The Santa Cruz Operation, Microsoft Corporation
  9. #    and AT&T, and should be treated as Confidential.
  10. #
  11. #    routines: finds driver entry points in a driver object module
  12.  
  13. case $# in
  14.     0) echo "syntax: routines object_module1 object_module2 ..."
  15.        exit 1 
  16.     ;;
  17. esac
  18. cat $* | od -c | \
  19. awk '{ for ( i=2 ; i <= NF ; i++) if ( length($i) == 1 ) { printf("%s",$i) ; x = 1 } else if ( x == 1 ) { printf("\n"); x = 0 }} ' | \
  20. egrep 'open$
  21. close$
  22. read$
  23. write$
  24. ioctl$
  25. strategy$
  26. tab$
  27. _tty$
  28. halt$
  29. poll$
  30. stream$
  31. init$
  32. ^spl
  33. intr$' | sort | uniq | sed 's/^_//p' 
  34.