From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Arne Henrichsen <ahenric@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: sys_sem* undefined
Date: Thu, 26 Aug 2004 09:28:25 -0700 [thread overview]
Message-ID: <20040826092825.0fc2eeb9.rddunlap@osdl.org> (raw)
In-Reply-To: <20040826134403.34510.qmail@web41507.mail.yahoo.com>
On Thu, 26 Aug 2004 14:44:03 +0100 (BST) Arne Henrichsen wrote:
| Hi,
|
| I realise now that one obviously calls these functions
| via system calls. Ok, I have never done that before in
| Linux. This is probably not the correct group to ask
| this, but where is there a good place to start? Maybe
| with a simple example on how to do system calls in
| Linux?
>From an application (userspace) or from inside the kernel?
There are many "howto add a system call to Linux" web pages
out there (use google). Oh, you want "howto do a system call."
>From userspace, usually use a library: app calls library
function, which does the syscall. Or you can roll your
own syscalls. The howtos on adding a system call to Linux
usually show you how to do that part also.[1]
--
~Randy
[1] written for 2.4.18:
http://www.xenotime.net/linux/syscall_ex/howto_adda_syscall.txt
next prev parent reply other threads:[~2004-08-26 16:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-25 11:50 Arne Henrichsen
2004-08-25 16:14 ` Randy.Dunlap
2004-08-26 9:05 ` Arne Henrichsen
2004-08-26 14:08 ` Paulo Marques
2004-08-26 13:44 ` Arne Henrichsen
2004-08-26 16:28 ` Randy.Dunlap [this message]
2004-08-27 9:26 ` Arne Henrichsen
2004-09-05 3:51 ` Pete
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=20040826092825.0fc2eeb9.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=ahenric@yahoo.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome