2

I tried searching for the word "System Side programmer" or "System Side C" but did not get any good info. Can someone explain me the difference between System Side C and C and System Programmer vs System Side Programmer. Would be great if some could provide links to study System Side C focused on Linux Kernel. Thanks in Advance

UPDATE: System Side C is the C language code that is used to build the Operating system. Eg: how a page table is implemented inside an OS using Struct.

12
  • 1
    Do you mean differences between C programming in kernel side and userspace side? Commented Oct 5, 2014 at 5:58
  • @alireza_fn What would you do when if i tell you to learn System Side C focused on Linux kernel? Commented Oct 5, 2014 at 6:00
  • The programming syntax of C is same, but available functions are difference. You cannot use some ANSI functions in kernel like printf() Commented Oct 5, 2014 at 6:03
  • So basically it is programming the system calls? i mean using interrupts. What platform can i use to practice this kind of C programming? Commented Oct 5, 2014 at 6:06
  • Not actually. Linux Kernel provides a large set of functions for modules so you don't have to mess with interrupts. You should try reading some linux kernel programming books then you should start programming kernel modules. Commented Oct 5, 2014 at 6:08

1 Answer 1

3

C language syntax is same in both but available functions are different. Linux kernel provides many ANSI C functions which are needed like string manipulation functions but it doesn't provide useless functions in kernel programming like scanf or printf,... . Linux kernel also provides functions for interacting with kernel subsystems like sysfs, devices, filesystems, IPC, ... . You should read the official linux kernel api documentation here: https://www.kernel.org/doc/htmldocs/kernel-api/

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you Alireza, i'm afraid i dont have enough reputation to vote.
@user3815757 for up-voting you need a reputation >= 15. Your current 17 > 15

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.