Re: [gccsdk] FILE structure

2019-11-26 Thread Ron
In article <20191126092042.bffc220...@orac.inputplus.co.uk>, Ralph Corderoy wrote: > Hi Ronald, > > In trying to implement wget's own support lib there was a requirement > > for an implementation of freading(). > Here's glibc's description. https://manned.org/__freading.3 > > It looks like

Re: [gccsdk] FILE structure

2019-11-26 Thread Ralph Corderoy
Hi Ronald, > In trying to implement wget's own support lib there was a requirement > for an implementation of freading(). Here's glibc's description. https://manned.org/__freading.3 > It looks like some extra system flag would need to be set on every > read, and negated on a write. That may

[gccsdk] FILE structure

2019-11-25 Thread Ron
In trying to implement wget's own support lib there was a requirement for an implementation of freading(). /* Return non-zero value if the stream FP is opened readonly, or if the last operation on the stream was a read operation. */ Other platforms have functions using fp structure members,