RE: POSIX and return codes...

2018-02-28 Thread Jakob Viketoft
Hello Sebastian, From: Sebastian Huber [sebastian.hu...@embedded-brains.de] Sent: Wednesday, February 28, 2018 11:55 > - Am 27. Feb 2018 um 13:11 schrieb Jakob Viketoft > jakob.viket...@aacmicrotec.com: > >> From: Joel Sherrill [j...@rtems.org] >> Sent: Monday, February 26, 2018 14:36 O

Re: POSIX and return codes...

2018-02-28 Thread Sebastian Huber
- Am 27. Feb 2018 um 13:11 schrieb Jakob Viketoft jakob.viket...@aacmicrotec.com: > From: Joel Sherrill [j...@rtems.org] > Sent: Monday, February 26, 2018 14:36 >>> On Feb 26, 2018 8:27 AM, "Jakob Viketoft" >>> wrote: > >>> Hello Joel, > >>> From: Joel Sherrill [j...@rtems.org] >>> Sent:

RE: POSIX and return codes...

2018-02-27 Thread Jakob Viketoft
From: Joel Sherrill [j...@rtems.org] Sent: Monday, February 26, 2018 14:36 >> On Feb 26, 2018 8:27 AM, "Jakob Viketoft" >> wrote: >> Hello Joel, >> From: Joel Sherrill [j...@rtems.org] >> Sent: Monday, February 26, 2018 12:21 >>> On Feb 26, 2018 5:13 AM, "Jakob Viketoft" >>> wrote: E.g.

Re: POSIX and return codes...

2018-02-26 Thread Sebastian Huber
Hello Jakob, you can also register drivers with IMFS_make_generic_node(). Please note that this API is not yet stable. See the testsuite for examples. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

RE: POSIX and return codes...

2018-02-26 Thread Joel Sherrill
On Feb 26, 2018 8:27 AM, "Jakob Viketoft" wrote: Hello Joel, From: Joel Sherrill [j...@rtems.org] Sent: Monday, February 26, 2018 12:21 > On Feb 26, 2018 5:13 AM, "Jakob Viketoft" wrote: >> E.g. could it be possible for the translation mechanism to look if there is already an errno defined and

RE: POSIX and return codes...

2018-02-26 Thread Jakob Viketoft
Hello Joel, From: Joel Sherrill [j...@rtems.org] Sent: Monday, February 26, 2018 12:21 > On Feb 26, 2018 5:13 AM, "Jakob Viketoft" > wrote: >> E.g. could it be possible for the translation mechanism to look if there is >> already an errno defined and then return this instead of doing the error

Re: POSIX and return codes...

2018-02-26 Thread Joel Sherrill
On Feb 26, 2018 5:13 AM, "Jakob Viketoft" wrote: Hello! We have a number of drivers in our BSP which all use the POSIX access methods to try and keep a clean interface etc. However, we also seem to stumble into a return error code translation issue. RTEMS seems to have a very few defined errno's

POSIX and return codes...

2018-02-26 Thread Jakob Viketoft
Hello! We have a number of drivers in our BSP which all use the POSIX access methods to try and keep a clean interface etc. However, we also seem to stumble into a return error code translation issue. RTEMS seems to have a very few defined errno's and translate the relatively scarce amount of R