01-29-2002
UniX internals Material
Hi!
I have 1.5 years experience in unix environment and shell scripting. Now, I started learning UNIX internals and network programming. Can you please help in finding the same material on the net
Thanks
Srinivas.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
will anybody tell me how can i access all the fields of process table .if there is any structure and a system call please specify . (1 Reply)
Discussion started by: vish_shan
1 Replies
2. UNIX for Dummies Questions & Answers
I am currently a student at Bergen Community College. My major is Networking Administration. I am having a tough time with INF-254 (UNIX).
I need some help! What is "README bit"
I am having trouble understanding certain concepts:
For Example, what does it mean to set SUID, or SGID?
... (1 Reply)
Discussion started by: nelson ele
1 Replies
3. Programming
I know UNIX user level commands, shell scripts. But i have no idea about kernel level programming and networking. I know the terms semaphore,IPC,socket programming. But i don't know in details what are these. I need to know the following.
1. Unix kernel level programming.
2. Unix Internals.
3.... (4 Replies)
Discussion started by: digdarshan
4 Replies
4. Programming
HI Friends,
I wanted to start this thread inorder to keep all the Unix starters to easily find useful material through this thread...I request you all to provide with the URL address of any gud material you know...
thanks and regards... (2 Replies)
Discussion started by: rahul3894singh
2 Replies
5. Windows & DOS: Issues & Discussions
Hi,
Can anyone provide the UNIX material.
Thanks. (1 Reply)
Discussion started by: biyyanimv
1 Replies
6. UNIX for Dummies Questions & Answers
Any study material for begineers for UNIX please?? (2 Replies)
Discussion started by: niranjany
2 Replies
7. What is on Your Mind?
Hi,
I want to prepare and then appear for Unix admin certification. Please guide me for the study material and Exams that are required to be taken for UNIX certifcation.
Thanks in advance. (11 Replies)
Discussion started by: raman1605
11 Replies
8. UNIX for Dummies Questions & Answers
Hi all ,
I wanted to know how does a 'mail' command works in unix. Does it use an smtp server internally ?
How and where it is configured then ? I am trying to google out the same , but not getting much help.
Any suggestions with be of great help.
- Andy (5 Replies)
Discussion started by: anindyabecs
5 Replies
9. UNIX for Dummies Questions & Answers
Hi ,
Can anyone suggest me any UNIX Study material and UNIX Certification specific for TELECOM-DOMAIN.
Best Regards,
Om Prakash. (14 Replies)
Discussion started by: omprakash1986
14 Replies
10. What is on Your Mind?
Hello,
Long-time Unix hacker here - I've worked on four variants of the kernel prior to the introduction of Linux. In my spare time, I've written Linux (Ubuntu) device drivers, kernel modules, cross-compiled, and built the kernel.
I'd like to do Linux internals/device drivers as a day job,... (1 Reply)
Discussion started by: OriginalVersion
1 Replies
LEARN ABOUT NETBSD
getpgrp
GETPGRP(2) BSD System Calls Manual GETPGRP(2)
NAME
getpgrp, getpgid -- get process group
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
pid_t
getpgrp(void);
pid_t
getpgid(pid_t pid);
DESCRIPTION
The process group of the current process is returned by getpgrp(). The process group of the pid process is returned by getpgid().
Process groups are used for distribution of signals, and by terminals to arbitrate requests for their input: processes that have the same
process group as the terminal are foreground and may read, while others will block with a signal if they attempt to read.
This call is thus used by programs such as csh(1) to create process groups in implementing job control. The tcgetpgrp() and tcsetpgrp()
calls are used to get/set the process group of the control terminal.
ERRORS
getpgrp() always succeeds, however getpgid() will succeed unless:
[ESRCH] if there is no process with a process ID equal to pid.
SEE ALSO
setpgid(2), termios(4)
STANDARDS
The getpgrp() function conforms to IEEE Std 1003.1-1988 (``POSIX.1'').
HISTORY
The getpgrp() function call appeared in 4.0BSD. The getpgid() function call is derived from its usage in AT&T System V Release 4 UNIX, and
first appeared in NetBSD 1.3.
COMPATIBILITY
This version of getpgrp() differs from past Berkeley versions by not taking a pid_t pid argument. This incompatibility is required by
ISO/IEC 9945-1:1990 (``POSIX.1'').
From the ISO/IEC 9945-1:1990 (``POSIX.1'') Rationale:
4.3BSD provides a getpgrp() function that returns the process group ID for a specified process. Although this function is used to support
job control, all known job-control shells always specify the calling process with this function. Thus, the simpler System V getpgrp() suf-
fices, and the added complexity of the 4.3BSD getpgrp() has been omitted from POSIX.1. The old functionality is available from the getpgid()
function.
BSD
August 11, 2002 BSD