All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@domain.hid>
To: Hadrien Caron <hadrien.caron@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] [xenomai-help] Error return with a4l_sync_write
Date: Mon, 21 Nov 2011 12:03:20 +0100	[thread overview]
Message-ID: <4ECA2FF8.7040406@domain.hid> (raw)
In-Reply-To: <CA+eKTkZ_ymqXx_Nc_9v1HRtYTqSjYqzdN56HCjzO+x14zcUwcg@domain.hid>

On 11/21/2011 11:44 AM, Hadrien Caron wrote:
> Hello to all !
> 
> I have a small problem using a4l_sync_write : I am using it inside a
> program that should write on a digital port.
> The function a4l_sync_write returns a value of -38.
> But according to the documentation, there is only 3 possible error
> possibles :
> EINVAL = 22
> EFAULT = 14
> ENOMEM = 12
> 
> So what is error 38 ? Is it missing from the documentation ? Or am I doing
> something wrong ?

With "http://www.xenomai.org/index.php/Resolving_Error_Codes" I get:

$ errno 38
#define	ENOSYS		38	/* Function not implemented */

Wolfgang.



  reply	other threads:[~2011-11-21 11:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-21 10:44 [Xenomai-help] [xenomai-help] Error return with a4l_sync_write Hadrien Caron
2011-11-21 11:03 ` Wolfgang Grandegger [this message]
2011-11-21 11:10   ` Hadrien Caron
2011-11-21 14:20     ` Gilles Chanteperdrix
2011-11-22 12:06       ` Alexis Berlemont
2011-11-22 12:33         ` Anders Blomdell
2011-11-22 13:43           ` Hadrien Caron
2011-11-22 22:33             ` Alexis Berlemont
2011-11-23  7:05               ` Anders Blomdell
2011-11-23  8:44               ` Gilles Chanteperdrix
2011-11-23  9:53                 ` Hadrien Caron
2011-12-08 14:36                   ` Hadrien Caron
2011-12-16 12:39                     ` Hadrien Caron
2011-12-16 13:20                       ` Gilles Chanteperdrix
2011-12-16 14:43                         ` Anders Blomdell
2011-12-16 14:50                           ` Gilles Chanteperdrix
2011-12-29 17:22                             ` Hadrien Caron
2011-12-29 17:56                               ` Gilles Chanteperdrix
2012-01-02 15:26                                 ` Hadrien Caron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ECA2FF8.7040406@domain.hid \
    --to=wg@domain.hid \
    --cc=hadrien.caron@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.