| To: | Matt Seitz <yyyyyy@xxxxxxxxx> |
|---|---|
| Subject: | Re: Return type of dlsym |
| From: | "Clive D.W. Feather" <yyyyy@xxxxxxxxx> |
| Date: | Wed, 17 Apr 2002 09:04:18 +0100 |
| Cc: | yyyyyyyyyyyyyy@xxxxxxxxxxxxx |
| References: | <Pine.A41.4.33.0204160958530.33140-100000@gpu2.srv.ualberta.ca> <20020416172439.42667.qmail@web11703.mail.yahoo.com> |
Matt Seitz said: > This seems a contradiction to me. If dlsym has no ISO C compatible means of > returning a function symbol's address, then how can one construct an example > that complies with ISO C? Unless you mean the example should only show dlsym > used to confirm the existance of a function symbol? You can't even do that: an implementation could convert all function pointers to NULL when they are cast to void *. > But if a feature can be > supported without violating Standard C, C++ follows Standard C. This is not the case. A number of exceptions come to mind. -- Clive D.W. Feather | Work: <yyyyy@xxxxxxxxx> | Tel: +44 20 8371 1138 Internet Expert | Home: <yyyyy@xxxxxxxxxx> | Fax: +44 870 051 9937 Demon Internet | WWW: http://www.davros.org | Mobile: +44 7973 377646 Thus plc | | NOTE: fax number change |
| Previous by Date: | Re: Return type of dlsym, Clive D.W. Feather |
|---|---|
| Next by Date: | Re: Return type of dlsym, Clive D.W. Feather |
| Previous by Thread: | Re: Return type of dlsym, Matt Seitz |
| Next by Thread: | Re: Return type of dlsym, Wojtek Lerch |
| Indexes: | [Date] [Thread] [All Lists] |