System calls and C language low-level qualities???


 
Thread Tools Search this Thread
Top Forums Programming System calls and C language low-level qualities???
# 1  
Old 04-12-2012
System calls and C language low-level qualities???

Hi friends,
I hope everyone is fine and doing well. I queried in my previous thread about the low-level qualities of C/C++ languages.I really thank you people for explaining, it was really helpful. One more ambiquity that I have in my mind is regarding the unix system calls like open, creat, write, read etc. The system calls that I have mentioned are all used for file manipulation. We also have functions like fopen, fclose in C language for the same purpose. Java, C++/C# also provide classes for file manipulation. Could you please tell me what is the difference between handling files using system calls in c language, and java/C++/C# classes and c functions like fopen etc. Isn't it that the system calls are one of the low-level properties of c language. And is it right to say that Java/C# depend on c language system calls to do their file manipulation jobs, that's why they are considered high-level languages. Unix operating systems provide different system calls, is it possible to use those system calls from languages other than C. Please don't think that I am posting some kind of homework etc, I just want to learn. One more thing which I need your guidance for, I have the intention to build a disk defragmenting and disk filesystem checking software someday. I got know from my previous post, thanks to you people, that these types of software are written in C/C++. Coud you please guide me to some direction i.e. books, source code or anything else, which would help me build such a software. I am looking forward to your wonderful replies.

Thanks in advance!
# 2  
Old 04-12-2012
Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

The UNIX and Linux Forums.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Programming

Low level X11 programming

How to use X11 without Xlib not XCB? How draw window directly on low level? I must use anyway window manager like Motif? I have ridden that X11 has server-client architecture, client send via TCP/IP to port 6000 request for primitives and get replies. Where is detailed description of it? In X11... (0 Replies)
Discussion started by: AndrzejB
0 Replies

2. Homework & Coursework Questions

Using C language to use system calls

I need to write a C program (not a C++ program) that allows some tasks to be preformed automatically from a menu-driven interface. Automate the following tasks: 1. Rename a file 2. Delete a file or a directory 3. Output Process Information 4. Execute “mode 644 ls -l” 5. Exit I need to know... (7 Replies)
Discussion started by: femchi
7 Replies

3. Programming

Why is C/C++ considered low-level languages???

Hi friends, I hope everyone is doing well and fine. I have always been hearing that C/C++ are relatively low-level as compared to Java/C# etc. Could you please tell me some low-level qualities of C/C++? And I think disk deframenters are written in C/C++, please correct me if I am wrong. And please... (5 Replies)
Discussion started by: gabam
5 Replies

4. Programming

Are system calls in c language only????

Hi friends, I have three questions. 1) What are system calls? 2) Is it necessary that system calls be in c language (in unix operating system)? 3) Importance of c language when programming in unix environment??? Looking forward to your wonderful replies! ... (2 Replies)
Discussion started by: gabam
2 Replies

5. AIX

High Runqueue (R) LOW CPU LOW I/O Low Network Low memory usage

Hello All I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) . The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies

6. Programming

write() issue during a low level hdd access

Hi, I am trying to write zeroes to the hdd using a c program. I don't want to use the dd or ddrescue or any such inbuilt program because of reasons like real time progress, writing custom patterns. (my program is more like an erasure application, but does only zero fill). here are the steps... (35 Replies)
Discussion started by: sponnusa
35 Replies

7. UNIX for Dummies Questions & Answers

Low level format?

I want to do a low level format like in windows (C:\format c:) but I don't know how it works in unix or linux.. Can somebody help me ? thnx :) (3 Replies)
Discussion started by: day
3 Replies
Login or Register to Ask a Question