linux api functions
Anders Bergh
anders1 at gmail.com
Fri Sep 7 07:26:43 PDT 2007
On 9/7/07, llee <llee at goucher.edu> wrote:
> I'm trying to call shmget(), and getpagesize(). I've imported std.c.linux.linux, but the compiler doesn't recognize either function. can anyone tell me what I need to do to call these functions?
>
extern (C) int shmget(int /*key_t*/ key, size_t size, int shmflg);
extern (C) int getpagesize();
I'm not sure what key_t should be in D, but I think it's int.
More information about the Digitalmars-d
mailing list