[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: io:lines() and \0
- From: Sean Conner <sean@...>
- Date: Fri, 21 Feb 2014 04:35:10 -0500
It was thus said that the Great Tom N Harris once stated:
>
> 1 insertion and 1 changed line. Though I get a warning that I think must be a
> bug in GCC. (It's trying to tell me memrchr returns an int.)
memrchr() is a POSIX function. You may need to define _POSIX_SOURCE (or
_GNU_SOURCE) to get the proper prototype from <string.h> used.
-spc