home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.20 / text0145.txt < prev    next >
Encoding:
Text File  |  1990-08-02  |  866 b   |  18 lines

  1. In article <10462@cs.utexas.edu>:
  2. >From: mcgrath%tully.Berkeley.EDU@ucbvax.Berkeley.EDU (Roland McGrath)
  3. >The problem is that the wording of the standard and the sysconf, pathconf, and
  4. >fpathconf functions were designed for boolean options and for limits which are
  5. >required to be positive integers.  In these cases, -1 is a reasonable
  6. >out-of-range value.  But _POSIX_VDISABLE is a character value, not restricted
  7. >to any specific range, and doesn't fit in right.
  8.  
  9. The documented use of _POSIX_VDISABLE is to store it in an object of type
  10. cc_t.  This is defined in 7.1.2.1 to be an unsigned integral type; hence -1
  11. is indeed out-of-band.  Unless you're trying to make cc_t an unsigned long and
  12. have _POSIX_VDISABLE be ULONG_MAX, you should be okay.
  13.  
  14. Karl W. Z. Heuer (karl@kelp.ima.isc.com or ima!kelp!karl), The Walking Lint
  15.  
  16. Volume-Number: Volume 20, Number 143
  17.  
  18.