Colin Burgess(deleted)
|
Re: How not to pollute app w/proprietary API calls?
|
Colin Burgess(deleted)
05/22/2008 11:25 AM
post8385
|
Re: How not to pollute app w/proprietary API calls?
Hi Jonathan,
No, POSIX doesn't specify interfaces for attaching to interrupts. In
general dealing with
interrupts is very OS specific. At best you can write wrapper
routines/macros.
Jonathan Juniman wrote:
> In the Neutrino library reference, some functions are classified as Posix,
but others are classified as Neutrino (e.g. InterruptAttach). Does that mean
no Posix function exists for attaching interrupts? I would like to avoid the
use of proprietary API calls in my code to the extent possible.
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post8380
>
--
cburgess@qnx.com
|
|
|
Brian Stecher
|
Re: How not to pollute app w/proprietary API calls?
|
Brian Stecher
05/22/2008 12:02 PM
post8389
|
Re: How not to pollute app w/proprietary API calls?
On Thu, May 22, 2008 at 10:31:43AM -0400, Jonathan Juniman wrote:
> In the Neutrino library reference, some functions are classified as
> Posix, but others are classified as Neutrino (e.g. InterruptAttach).
> Does that mean no Posix function exists for attaching interrupts?
> I would like to avoid the use of proprietary API calls in my code to
> the extent possible.
There's usually a note in the library reference entry giving the equivalent
POSIX functions and saying you should use those (where they exist) and
the "See Also:" section would have the POSIX API's listed as well.
--
Brian Stecher (bstecher@qnx.com) QNX Software Systems
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8
|
|
|