home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,855 of 4,255   
   mutazilah@gmail.com to Scott Lurndal   
   Re: news galore   
   12 Oct 21 14:19:52   
   
   From: muta...@gmail.com   
      
   On Wednesday, October 13, 2021 at 7:21:05 AM UTC+11, Scott Lurndal wrote:   
      
   > You may want to go back and re-read the first paragraph of the section   
   entitled "Files":   
      
   > "If a file can support positioning requests (such as a   
      
   The file stream associated with COM1 will only support   
   positioning requests of offset 0 from the current position,   
   or in the future, maybe positive offsets (read and discard   
   bytes from the UART).   
      
   > For usable real-world operating systems, fseek will fail (return -1L) and   
   > set errno to EBADF for attempts to seek on a non-seekable stream (like   
   > that associated with a terminal or TCP connection).   
      
   My intention for PDOS/386 and z/PDOS is not to copy the   
   bad design decisions of others, but to see what can be done   
   within the confines of C90. And it would appear that that   
   includes being able to write a news reader.   
      
   BTW, another thing I will need to do (I think) is to setvbuf   
   the COM1 stream to make it unbuffered.   
      
   BFN. Paul.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca