home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c065 / 2.ddi / CLIB2.ZIP / WILDARGS.ASM < prev    next >
Encoding:
Assembly Source File  |  1990-06-07  |  1.2 KB  |  35 lines

  1. ;[]-----------------------------------------------------------------[]
  2. ;|      WILDARGS.ASM -- Hook For Wildcard Command Line Parsing       |
  3. ;|                                                                   |
  4. ;|      Turbo-C Run Time Library        Version 3.0                  |
  5. ;|                                                                   |
  6. ;|      Copyright (c) 1987,1988,1990 by Borland International Inc.   |
  7. ;|      All Rights Reserved.                                         |
  8. ;[]-----------------------------------------------------------------[]
  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.