Sponsored Content
Full Discussion: C++ coding standard tool
Special Forums Windows & DOS: Issues & Discussions C++ coding standard tool Post 302989057 by SA_Palani on Friday 6th of January 2017 03:05:19 PM
Old 01-06-2017
I am working in VS2008. In this any tool which can help to do effective coding standards
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

can I use this coding

I apologise because I had pasted this question in the newbies forum first (because i am a bit of a newbie) but thought it might be better suited in here if i have to sepearate parameters can I use this syntax especially the or part (||) and is this correct if (6 Replies)
Discussion started by: w33man
6 Replies

2. Shell Programming and Scripting

Coding Standard For Unix Shell Scripting!!!

Is there any site on Coding Standard for Shell Scripting in UNIX. Please help me know!!!!! Thanks Om (1 Reply)
Discussion started by: Omkumar
1 Replies

3. Shell Programming and Scripting

standard error to standard out question

Hi there how can i get the result of a command to not give me its error. For example, on certain systems the 'zfs' command below is not available, but this is fine becaues I am testing against $? so i dont want to see the message " command not found" Ive tried outputting to /dev/null 2>&1 to no... (5 Replies)
Discussion started by: hcclnoodles
5 Replies

4. UNIX for Dummies Questions & Answers

Redirect Standard output and standard error into spreadsheet

Hey, I'm completely new at this and I was wondering if there is a way that I would be able to redirect the log files in a directories standard output and standard error into and excel spreadsheet in anyway? Please remember don't use too advanced of terminology as I just started using shell... (6 Replies)
Discussion started by: killaram
6 Replies

5. Shell Programming and Scripting

Standard out and standard error

I need to run a cronjob and in the cronjob I execute a script that if there is an error produces standard error so I do /RUNMYSCRIPT 2> mylogfile.log However, if it runs correctly, I don't get a standard error output, I get a standard out output. How do I redirect both standard error and... (2 Replies)
Discussion started by: guessingo
2 Replies

6. Shell Programming and Scripting

Need help with coding

HI, Can some one guide me how to make changes to the script below so that it can load the history of a program to IT server ? Format of data: YYYYMMDD065959.dsk.log YYYYMMDD235959.dsk.log currently both are loaded together. Need to separate them as above format. Thanks in advance. ... (1 Reply)
Discussion started by: crazydude80
1 Replies

7. Windows & DOS: Issues & Discussions

Need help with coding

HI, Can some one guide me how to make changes to the script below so that it can load the history of a program to IT server ? Format of data: YYYYMMDD065959.dsk.log YYYYMMDD235959.dsk.log currently both are loaded together. Need to separate them as above format. Thanks in advance. ... (2 Replies)
Discussion started by: crazydude80
2 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 08:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy