Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-01-2009, 11:30 AM   #1
LQ Newbie
Registered: May 2009
Posts: 1

Rep: Reputation: 0
How do I use my system calls in other applications?

Hi all,

I have implemented a few calls like mkdir (creates a new directory), doesFileExist(checks whether the specified file exists or not), listDirectory(listing the contents of a directory) etc. to support my clone of FAT.

I am currently working on a simple text editor, which would be loaded by the shell from a floppy disk.

So my question is:
How can I use my system-calls in the editor?

My shell cum kernel is 48 sectors in size and is loaded at 0x1000:0x0000.
So the system extends upto 0x1000:0x0000 + 48*512bytes = 0x1000:0x6000
in memory.

The memory ranging from 0x0500:0x0000 to 0x0500:0x0AFFF is reserved for the floppy disk programs.

So how I can use the calls available in CHUNK1 in CHUNK 2?

Thank you.
Old 05-03-2009, 01:16 PM   #2
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
Probably better for the programming forum


calls, system, using

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how does java calls the system calls which are written in c babu198649 Linux - General 3 12-05-2011 03:40 AM
system calls goldeneagle1234 Linux - Newbie 1 09-14-2008 04:52 AM
system calls arispipis Programming 2 03-19-2008 06:59 PM
how do you use system calls? slinky2004 General 1 12-22-2005 09:39 PM
Some system calls Spooky Programming 1 11-24-2004 10:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration