home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.24 / text0002.txt < prev    next >
Encoding:
Text File  |  1991-09-03  |  1.0 KB  |  22 lines

  1. Submitted-by: ian@airs.com (Ian Lance Taylor)
  2.  
  3. I want to read up to 4096 characters from the terminal in
  4. non-canonical mode.  I want to wait until the characters arrive (with
  5. a timeout).  It seems sensible to me to set MIN to the number of
  6. characters I want to read and use alarm for a timeout.  But what is
  7. the maximum value that I can set MIN to on a POSIX system?  Does the
  8. standard specify this anywhere?  On System V the maximum is probably
  9. 255, but it's pretty easy to imagine an implementation for which the
  10. maximum is 127.  I assume the maximum value is <= MAX_INPUT; are there
  11. any other constraints?  I've only seen the 1988 copy of the standard,
  12. so apologies if this is covered in the 1990 revision.
  13. -- 
  14. Ian Taylor                   ian@airs.com                 uunet!airs!ian
  15. First person to identify this quote wins a free e-mail message:
  16. ``If he could have moved, he would have gotten up and gone after the man
  17. to thank him for wearing something so marvelously interesting.''
  18.  
  19.  
  20. Volume-Number: Volume 24, Number 4
  21.  
  22.