Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

syscall.h

For fun (?) I've played with porting nodejs to BB10 today

 

I'm completely stuck when I get to a bit of the uv library that wants syscall.h

 

This don't appear to exist in QNX anywhere




Click the like button if you find my posts useful!
Developer
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10
My Carrier: MTS

Re: syscall.h

Have you tried to use unistd.h instead? It has most of the system calls wrapped.
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter
Developer
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: syscall.h

I dunno why they used syscall

 

The awkward conversion is this mess...

 

https://github.com/joyent/node/blob/master/deps/uv/src/unix/linux-syscalls.c

 

QNX is missing a few things that I got around OK but this one is rather a problem

 

I might have a bash at converting it @ w/e




Click the like button if you find my posts useful!