Sponsored Content
Full Discussion: Reference Material
Operating Systems HP-UX Reference Material Post 302091271 by chrisc@nwark.ne on Saturday 30th of September 2006 08:39:15 PM
Old 09-30-2006
Reference Material

I'm having to write 'C' programs for a group of HP-UX 11.X systems. While I have found many 'C' reference books which I like, none of them reference using 'C' in the UNIX environment.

Anyone have any good recommendations for books about 'C' programming under UNIX?

Thanks.

Chris
 

9 More Discussions You Might Find Interesting

1. New to Unix. Which books should I read?

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. (7 Replies)
Discussion started by: srinivaskathika
7 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. Windows & DOS: Issues & Discussions

Unix Material

Hi, Can anyone provide the UNIX material. Thanks. (1 Reply)
Discussion started by: biyyanimv
1 Replies

4. Shell Programming and Scripting

PDF material required

Does anyone here have the AU23 Course material........ Edit: Please do not post your e-mail address while asking for help. (0 Replies)
Discussion started by: gurpreets
0 Replies

5. 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

6. Ubuntu

Any study material for begineers for Ubuntu please??

Any study material for begineers for Ubuntu please?? (4 Replies)
Discussion started by: niranjany
4 Replies

7. AIX

Any AIX training material?

Hi, I'm thinking about getting IBM certified in AIX 6. I can't seem to find any material that can be used to study for this. IBM courses are way too expensive. Does anyone have any recommendations on material for IBM test 000:223? (5 Replies)
Discussion started by: bbbngowc
5 Replies

8. 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

9. Shell Programming and Scripting

Perl de-reference code reference variable

Guys, May i know how can we de reference the code reference variable.? my $a = sub{$a=shift;$b=shift;print "SUM:",($a+$b),"\n";}; print $a->(4,5); How can we print the whole function ? Please suggest me regarding this. Thanks for your time :) Cheers, Ranga :) (0 Replies)
Discussion started by: rangarasan
0 Replies
setgid(2)							System Calls Manual							 setgid(2)

NAME
setgid - Sets the group ID SYNOPSIS
#include <unistd.h> int setgid ( gid_t group_id ); Application developers may want to specify an #include statement for <sys/types.h> before the one for <unistd.h> if programs are being developed for multiple platforms. The additional #include statement is not required on Tru64 UNIX systems or by ISO or X/Open standards, but may be required on other vendors' systems that conform to these standards. STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: setgid(): POSIX.1, XPG4, XPG4-UNIX Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Specifies the new group ID. DESCRIPTION
The setgid() function sets the real group ID, effective group ID, and the saved set group ID to the value specified by the group_id parame- ter. If the process does not have superuser privilege, but the group_id parameter is equal to the real group ID or the saved set group ID, the setgid() function sets the effective group ID to group_id. The real group ID and saved set group ID remain unchanged. Any supplementary group IDs of the calling process remain unchanged. RETURN VALUES
Upon successful completion, the setgid() function returns 0 (zero). Otherwise, the function returns -1 and sets errno to indicate the error. ERRORS
The setgid() function sets errno to the specified values for the following conditions: The value of the group_id parameter is invalid. The process does not have superuser privilege and the group_id parameter does not match the real group ID or the saved set group ID. RELATED INFORMATION
Functions: exec(2), getgid(2), setuid(2) Standards: standards(5) delim off setgid(2)
All times are GMT -4. The time now is 06:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy