Abdulaziz Ghuloum wrote:
If you want something like pipe(2) or socketpair(2), it should be easy.
I put something like this in my "ikarus-runtime.c":
ikptr
ikrt_pipe (ikpcb* pcb){
int fd[2];
if(pipe(fd)==0){
......
} else {
return ik_errno_to_code();
}
}
I'm guessing in the '...' space I should allocate and return a
bytevector? Er... can you help me out on that part. :-) I see a few
places where bytevectors are allocated in that file, but each instance
seems a little different.
Ed
