Subject: Re: Global variable name which equals to func name causes
To: ??? <>
From: Ignatios Souvatzis <>
List: tech-userlevel
Date: 09/27/2007 14:51:17
On Thu, Sep 27, 2007 at 08:37:38PM +0800, ??? wrote:

> In fact the 2nd example is from unp v1 3e source: pthread07.h. I found
> it simple enough to regenerate the problem. I met it when I made and
> ran serv07 in the source directory unpv13e/server.
> Now I think it is a very terrible problem: I can't have any global
> varible whose name is the same with those in libraries. For example,
> __srefill, __sread called by fread, or thounds of any other function

You can't have any variable starting with _ in your programs - they're
for system use.