Tagged Questions
0
votes
0answers
102 views
How to pass an IP address to inet_addr? [closed]
I can't seem to pass an IP address to inet_addr. I have gone through the debug but I still can't figure out why this won't work.
printf("Server IP\nIP:");
scanf("%s",cmdPtr);
//Bind socket
...
1
vote
1answer
131 views
How to keep Ubuntu 11.10 and Kate editor w/terminal from changing command line when changing tabs?
I am programming C using Kate editor in Ubuntu 11.10. It works great, but when I change tabs in Kate, the terminal line changes to the file path of the tab I click on.
Normally this is not a big deal ...
116
votes
5answers
5k views
What do the parentheses and number after a Unix command or C function mean?
I keep seeing parentheses and a number after a command in Unix or Linux or C function.
For example: man(8), ftok(2), mount(8), etc.
What do these mean? I see them in man too.