On Tue, 1 Feb 2005, Den Jean wrote:

> Hi,
> 
> 1) sysconf:
> could someone please fix sysconf in unistdh.inc.
> The library name is not correct
> 
> packages/base/libc/unistdh.inc:function sysconf (__name : longint) : longint; 
> cdecl; external clib name 'syconf';
> 
> 
> The compile error is typically :
> 
>  In function `START_SESSION':
> SYS_UTIL.pas:329: undefined reference to `syconf'
> 
> The rest is nice to have...........

All done, thanks for pointing them out.

In general, FPC has the exact C header definition. 
Where needed, I added the Kylix definition as an overloaded version. If there 
are some missing definitions,
(entirely possible) please let me know, I'll add them.

Michael.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to