Sponsored Content
Full Discussion: UniX internals Material
Top Forums UNIX for Beginners Questions & Answers Answers to Frequently Asked Questions New to Unix. Which books should I read? UniX internals Material Post 14441 by auswipe on Thursday 31st of January 2002 04:16:46 PM
Old 01-31-2002
How about titles like this, "Advanced Programming in the Unix Environment" (http://www.amazon.com/exec/obidos/ASIN/0201563177/)

This title gets pretty indepth and the other titles by Addison-Wesley are fairly in-depth.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

on unix internals

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

question on UNIX material

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

UNIX Internals, Help required...

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

Good Unix Online Study Material

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

Unix Material

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??

Any study material for begineers for UNIX please?? (2 Replies)
Discussion started by: niranjany
2 Replies

7. What is on Your Mind?

UNIX Admin (Papers and study material)

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

Unix mail command internals

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

UNIX Study Material

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?

How to switch from SVR4/BSD internals to Linux internals?

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
SETSID(3P)						     POSIX Programmer's Manual							SETSID(3P)

PROLOG
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the correspond- ing Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME
setsid - create session and set process group ID SYNOPSIS
#include <unistd.h> pid_t setsid(void); DESCRIPTION
The setsid() function shall create a new session, if the calling process is not a process group leader. Upon return the calling process shall be the session leader of this new session, shall be the process group leader of a new process group, and shall have no controlling terminal. The process group ID of the calling process shall be set equal to the process ID of the calling process. The calling process shall be the only process in the new process group and the only process in the new session. RETURN VALUE
Upon successful completion, setsid() shall return the value of the new process group ID of the calling process. Otherwise, it shall return (pid_t)-1 and set errno to indicate the error. ERRORS
The setsid() function shall fail if: EPERM The calling process is already a process group leader, or the process group ID of a process other than the calling process matches the process ID of the calling process. The following sections are informative. EXAMPLES
None. APPLICATION USAGE
None. RATIONALE
The setsid() function is similar to the setpgrp() function of System V. System V, without job control, groups processes into process groups and creates new process groups via setpgrp(); only one process group may be part of a login session. Job control allows multiple process groups within a login session. In order to limit job control actions so that they can only affect pro- cesses in the same login session, this volume of IEEE Std 1003.1-2001 adds the concept of a session that is created via setsid(). The set- sid() function also creates the initial process group contained in the session. Additional process groups can be created via the setpgid() function. A System V process group would correspond to a POSIX System Interfaces session containing a single POSIX process group. Note that this function requires that the calling process not be a process group leader. The usual way to ensure this is true is to create a new process with fork() and have it call setsid(). The fork() function guarantees that the process ID of the new process does not match any existing process group ID. FUTURE DIRECTIONS
None. SEE ALSO
getsid(), setpgid(), setpgrp(), the Base Definitions volume of IEEE Std 1003.1-2001, <sys/types.h>, <unistd.h> COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol- ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html . IEEE
/The Open Group 2003 SETSID(3P)
All times are GMT -4. The time now is 06:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy