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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
New Developer
npross
Posts: 27
Registered: ‎02-26-2012
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

Please use plain text.