ooh
that is my halt.
egattach(0,"shared",0,1024);
works fine!

my test

test1(void)
{
        char *ap;
        ap = segattach(0,"shared",0,1024);
        print("%p\n",ap);       // deffe000
}

term% cat /proc/917256/segment
Stack     defff000 dffff000    1
Text   R      1000     6000    1
Data          6000     7000    1
Bss           7000     7000    1
Shared    deffe000 defff000    1
term%

that nice.

by the way, is this behavior special to 9front?

Kenji Arisawa

2014/09/14 13:51、[email protected] のメール:

> it works, you just mistyped "shared" in the first call.
> 
> --
> cinap
> 


Reply via email to