home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_122 / 1.ddi / CLIBSRC.ZIP / WILDARGS.ASM < prev    next >
Encoding:
Assembly Source File  |  1992-06-10  |  1.1 KB  |  37 lines

  1. ;[]-----------------------------------------------------------------[]
  2. ;|      WILDARGS.ASM -- Hook For Wildcard Command Line Parsing       |
  3. ;[]-----------------------------------------------------------------[]
  4.  
  5. ;
  6. ;       C/C++ Run Time Library - Version 5.0
  7. ;       Copyright (c) 1987, 1992 by Borland International
  8. ;       All Rights Reserved.
  9.  
  10.  
  11.         INCLUDE RULES.ASI
  12.  
  13. _DATA           segment word public 'DATA'
  14. PubSym@         _argc,          <dw     0>,             __CDECL__
  15. dPtrPub@        _argv,          0,                      __CDECL__
  16.                 ends
  17.  
  18. _TEXT           segment byte public 'CODE'
  19.  
  20. extrn           __wildargv
  21.  
  22. ;This is the symbol which pulls in _wildargv (or _setargv)
  23.                 public __setargv__
  24. __setargv__     equ    0
  25.  
  26. _INIT_          SEGMENT WORD PUBLIC 'INITDATA'
  27.                 db      0                       ;near call
  28.                 db      1                       ;priority 1
  29.                 dw      offset __wildargv
  30.                 dw      ?
  31. _INIT_          ENDS
  32.  
  33.                 ends
  34.                 end
  35.