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
New Developer
Posts: 29
Registered: ‎02-26-2012
My Device: Playbook, Bold 9900
My Carrier: Telus

PTYs -- grantpt returns EACCES

Is there a reason that I get EACCES when I try to call grantpt(). 

 

int fd = posix_openpt(O_RDWR); // succeeds

int retval = grantpt(fd); // fails EACCES

...

unlockpt(fd)

etc,,,

 

Thanks,

Norm