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
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
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
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
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
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
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
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
LEARN ABOUT OSF1
setregid
setregid(2) System Calls Manual setregid(2)
NAME
setregid - Sets the real and effective group ID
SYNOPSIS
#include <unistd.h>
setregid( gid_t rgid, gid_t egid );
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
setregid(): XPG4-UNIX
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Specifies the new real group ID. Specifies the new effective group ID.
DESCRIPTION
The setregid() function sets the real group ID of the current process to the value specified by the rgid parameter, and sets the effective
group ID to the value specified by the egid parameter. If the value of rgid is -1, the real group ID is not changed; if the value of egid
is -1, the effective group ID is not changed. The real and effective group IDs may be set to different values in the same call.
Unprivileged users may change the effective group ID to the real group ID; only the superuser may make other changes.
Any supplementary group IDs of the calling process remain unchanged.
RETURN VALUES
Upon successful completion, a value of 0 (zero) is returned. Otherwise, a value of -1 is returned and errno is set to indicate the error.
ERRORS
The setregid() function sets errno to the specified values for the following conditions:
The value of the rgid egid parameter is invalid or out of range. The current process does not have superuser privilege and a change other
than changing the effective group ID to the real group ID was specified.
RELATED INFORMATION
Functions: getgid(2), setgid(2), setrgid(3), setreuid(2)
Standards: standards(5) delim off
setregid(2)