home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Reference Guide / C-C++ Interactive Reference Guide.iso / c_ref / csource3 / 121_01 / files.doc < prev    next >
Encoding:
Text File  |  1985-08-21  |  1.5 KB  |  67 lines

  1.  
  2.  
  3.      FILES (2)                 BDS C Users' Group                 FILES (2)
  4.  
  5.  
  6.  
  7.  
  8.      NAME   
  9.      NAME 
  10.           files - functions for handling ambiguous filenames in CP/M 
  11.  
  12.  
  13.      SYNOPSIS   
  14.      SYNOPSIS 
  15.           filelist     
  16.           filelist() 
  17.           nameok     
  18.           nameok() 
  19.           pickout     
  20.           pickout() 
  21.  
  22.  
  23.      DESCRIPTION   
  24.      DESCRIPTION 
  25.           ________                                            
  26.           filelist() converts ambiguous file descriptors to 
  27.           unambiguous file descriptors.  
  28.  
  29.  
  30.           ______                                                  
  31.           nameok() takes an input file descriptor (ambiguous or 
  32.           unambiguous) and creates a list of unambiguous file 
  33.           descriptors in the supplied table.  
  34.  
  35.  
  36.           _______                                         
  37.           pickout() extracts the name from a CP/M fcb.  
  38.  
  39.  
  40.      CAVEATS   
  41.      CAVEATS 
  42.           These functions were tested with v1.50 of the BDS C compiler 
  43.           under CP/M 2.2.  They should work with other versions of BDS 
  44.           C and CP/M, but have not been tested.  
  45.  
  46.  
  47.      NOTES   
  48.      NOTES 
  49.           These functions are used by several programs on this disk, 
  50.           including SDIR and ZDIR.  See the code for the parameters 
  51.           required.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.                                       -1-
  86.  
  87.  
  88. _____                                            
  89.           filelist() converts ambiguous file descriptors t