All questions regarding programming, tweaking and configuring of Unix & Linux core system as a whole or a sub-set of it.

learn more… | top users | synonyms

1
vote
0answers
30 views

calling library functions from different language

As we know libraries are precompiled codes, so we do not need to compile them. Can we call library functions of one language from a different language?
2
votes
2answers
115 views

Low level system call [closed]

C provides library functions such as write(),read().. for system calls.How to make a system call without using any library in linux in C ?
0
votes
3answers
310 views

System calls source code

C library provides functions such as write(),read(),open()...that we can use in our C program to make system calls. where can I find source code for these functions?
1
vote
1answer
66 views

System calls in linux

Generally, systems provide a library or API that sits between normal programs and the operating system. On Unix-like systems, that API is usually part of an implementation of the C library (libc), ...
4
votes
1answer
136 views

FILE size limitation according to Robert Love's textbook

From Robert Love's Linux System Programming (2007, O'Reilly), this is what is given in the first paragraph (Chapter 1, Page 10): The file position’s maximum value is bounded only by the size of ...
0
votes
0answers
18 views

How to run the EDKnrc code

I have installed the EGSnrc code on a LINUX system and want to use the EDKnrc code for a "dose distribution" in the spherical Phantom, how can I run this code? can this code is run by the GUI similar ...
3
votes
4answers
452 views

How to set proper monitoring of my services in a automated way? So that if one crash it auto on the fly restarts?

How can i setup monitoring to my system services? Either using automated script which scan every moment, if httpd, mysqld, and my custom daemon is running or not, if not running it will automatically ...
4
votes
2answers
6k views

Online course that covers Unix/Linux Systems programming [closed]

I am looking for an online course, something similar to the Berkely and Stanford Courses that covers Linux systems programming. A course which could use Stevens ( with some supplemental material ...
-1
votes
3answers
529 views

telnet implementation using C [closed]

The program in general is I want to implement telnet program. On the client side user send its logging name and password, and if it is correct he starts to send commands to the server On the Server ...
2
votes
1answer
546 views

Concept of memory mapping in Unix like systems

Can some one explain in an easy to understand way the concept of memory mappings (achieved by mmap() system call) in Unix like systems ? When do we require this functionality ?
0
votes
2answers
184 views

Can linux be configured as a server or workstation in DCS and how? [closed]

I am a student of Instrumentation and Control. Considering the versatility and stability of Linux, I was wondering if Linux can be configured to act as a Distributed Control System? Also if yes, ...
2
votes
0answers
394 views

modetest.c from libdrm tests lists no framebuffers

I wanted to play with KMS since it seems to be the preferred low-level graphics library on Linux. However, after compiling the appropriate modetest.c version (2.4.32, since that's the version of ...
2
votes
1answer
640 views

Preventing ChromeOS from blanking the screen when working on a different tty

I am running Archlinux in a chroot alongside Chrome OS on a chromebook. The original project is there, my fork of it is here (mostly similar). The issue is that the display power management of Chrome ...
0
votes
2answers
745 views

Automated SSH Login [duplicate]

Possible Duplicate: Shell Script for logging into a ssh server Autentification on SSH connection in OneLine How could I make a SSH Login programmatically on a unix server, I don't have ...
5
votes
2answers
3k views

How to find the header file where a c function is defined?

Is there an easy way to find out which header file a C function declaration is in? cding into /usr/include and running (grep -E 'system.*\(' *.h -R) works with some trial and error, but isn't there an ...
7
votes
2answers
3k views

Difference between slow system calls and fast system calls

What's the difference between slow system calls and fast system calls? I have learned that slow system call can block if the process catches some signals, because the caught signals may wake up the ...
4
votes
3answers
1k views

Cursor movement in terminals

I'm trying to wrap my head how shells move the screen cursor around (Moving around input the arrow keys and such). I've been doing a lot of testing, and I haven't found any system call that allows ...
2
votes
3answers
344 views

Are all system call error numbers unique?

I'm writing a program for Systems Programming in Unix, and one of the requirements is to process all possible error returns from system calls. So, rather than having a function tailored to each ...
5
votes
2answers
2k views

Learn Linux System Programming by doing projects [closed]

I have only a very basic idea about linux system programming. I have not done any real projects using linux system programming. In my current company I do system admin type work, but I am more ...
4
votes
2answers
2k views

Implementing a Unix shell in C: Logging

I am currently working on implementing my own UNIX shell in C. The basis of the shell is working, you could find the source code here. Right now my next task is to implement a logging feature for the ...
2
votes
4answers
140 views

SDK for Developer

Is there any SDK for developers under Linux? I mean more than man pages, it would be more like MSDN Library or Windows SDK under windows, where all documentation about programming and developer guide ...
16
votes
9answers
17k views

What is the best book to learn Linux system programming? [closed]

Title says it all. I am trying to learn Linux system programming, which is the best book to learn this?