04-22-2013
1) I'd say barely. It is useful since underlying platform is a lot similar to Unix and it gives you better understanding of how things work under the hood but -as an iOS programmer- you do not have direct access nor control of the OS, and all tasks *MUST* be performed with Cocoa/CocoaTouch framework tools.
Don't expect to be using SSH, grep, netstat, nfs, df, bash buit-ins, etc in any of your programs.
2) Again, you won't be dealing with syscalls, forking, IRQs, etc. It's not necessary at all; however it's a good plus. Even if you're into multi-threaded programming, Cocoa handles everything without (much) hassle.
3) I'm not a Linux programmer myself but if you are already proficient with Objective-C you're most certainly a capable C programmer so you'd at least be able to "talk" in same language. Now you'd only need to learn the internals of Linux and get familiar with its code.
Last edited by verdepollo; 04-22-2013 at 02:37 PM..
Reason: typo
10 More Discussions You Might Find Interesting
1. Programming
Hi all,
I am working on a c program (in a unix environment) making system calls. My program makes references to POSIX, _POSIX_SOURCE 1. When trying to compile the c program, I received a message "Language optional software package not installed."
I am not sure if this message refers to... (3 Replies)
Discussion started by: rachael
3 Replies
2. Programming
Hi there,
Am very very interested in system level programming in C????
Please give me a good site or a sample program to start with..
will be of a great help to me..
Thanks,
Nisha (7 Replies)
Discussion started by: Nisha
7 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies
4. Programming
Dear Sir,
How to write Code using JAVA technology for system programming ? I want to develop a new compiler for my own language.
thanks in advance
roy (1 Reply)
Discussion started by: swapan
1 Replies
5. Programming
Hi guys, i'm programming in C for Linux but i preferred to program in FreeBSD and some FreeBSD system calls are not available in Linux and i want to make my code portable but i don't now really how, but i think if i used some C preprocessors i can make it portable, and the problems is that i don't... (8 Replies)
Discussion started by: pharaoh
8 Replies
6. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
7. IP Networking
I am new in Kernel programming....i want to know how kernel is implemented.To this i have downloaded minix 3 kernel but i do not know where to start my study of kernel programming...please tell me from where to start understanding the code and how to run kernel in windows 7 or red hat. (3 Replies)
Discussion started by: Sajan Gupta
3 Replies
8. Programming
Hi friends,
Hope u r doing well. I really find the phrase, "Unix System Programming" very very cool, I don't know the reason, but it since I love UNIX, I want to do system programming in unix. Could you please tell me what is really the meaning of unix system programming. I have a couple of books... (5 Replies)
Discussion started by: gabam
5 Replies
9. Programming
newPerm = oldPerm & ~0100;
where oldPerm holds the value of st_mode from the system call stat().
When I try and compile every line where ive attempted to do these operations gives the warning "parameter names without declaration types in function declaration". what could be the problem? the... (2 Replies)
Discussion started by: bjhum33
2 Replies
10. Programming
Video tutorial of Linux System Programming with C.
YouTube - Linux System Programming with C by Indronil Banerjee (1 Reply)
Discussion started by: vectrum
1 Replies
INTRO(2) Linux Programmer's Manual INTRO(2)
NAME
intro - introduction to system calls
DESCRIPTION
Section 2 of the manual describes the Linux system calls. A system call is an entry point into the Linux kernel. Usually, system calls
are not invoked directly: instead, most system calls have corresponding C library wrapper functions which perform the steps required (e.g.,
trapping to kernel mode) in order to invoke the system call. Thus, making a system call looks the same as invoking a normal library func-
tion.
For a list of the Linux system calls, see syscalls(2).
RETURN VALUE
On error, most system calls return a negative error number (i.e., the negated value of one of the constants described in errno(3)). The C
library wrapper hides this detail from the caller: when a system call returns a negative value, the wrapper copies the absolute value into
the errno variable, and returns -1 as the return value of the wrapper.
The value returned by a successful system call depends on the call. Many system calls return 0 on success, but some can return nonzero
values from a successful call. The details are described in the individual manual pages.
In some cases, the programmer must define a feature test macro in order to obtain the declaration of a system call from the header file
specified in the man page SYNOPSIS section. (Where required, these feature test macros must be defined before including any header files.)
In such cases, the required macro is described in the man page. For further information on feature test macros, see fea-
ture_test_macros(7).
CONFORMING TO
Certain terms and abbreviations are used to indicate UNIX variants and standards to which calls in this section conform. See standards(7).
NOTES
Calling directly
In most cases, it is unnecessary to invoke a system call directly, but there are times when the Standard C library does not implement a
nice wrapper function for you. In this case, the programmer must manually invoke the system call using syscall(2). Historically, this was
also possible using one of the _syscall macros described in _syscall(2).
Authors and copyright conditions
Look at the header of the manual page source for the author(s) and copyright conditions. Note that these can be different from page to
page!
SEE ALSO
_syscall(2), syscall(2), syscalls(2), errno(3), intro(3), capabilities(7), credentials(7), feature_test_macros(7), mq_overview(7),
path_resolution(7), pipe(7), pty(7), sem_overview(7), shm_overview(7), signal(7), socket(7), standards(7), svipc(7), symlink(7), time(7)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2010-11-11 INTRO(2)