09-21-2008
Why don't you set an environmet variable from you program?
10 More Discussions You Might Find Interesting
1. Linux
i'm a grad student taking a UNIX course and a networks course (i have a background in C++ and JAVA). i'm trying to combine the two classes.
My questions stems from a networks programming homework assignment below:
"Using the operating system and language of your choice, develop a program to... (5 Replies)
Discussion started by: trostycp
5 Replies
2. Solaris
Thinking of using our San for network backups..
Have a Netra 240 being installed and planning to get some space on our San.
Do you know what software is used to access the San from my server or what I would need to do? I know how to connect to local storage, disk arrays etc but not sure what... (1 Reply)
Discussion started by: frustrated1
1 Replies
3. Cybersecurity
Dear All,
I have finished my MS in chemical engineering from US university and presetly on OPT work permit.
I do not have software background.
I have received call from consultant company.
They are offering me AIX UNIX training for four weeks and find me a job.
My question is how difficuilt... (0 Replies)
Discussion started by: saarth_desh
0 Replies
4. UNIX for Dummies Questions & Answers
Dear All,
I have finished my MS in chemical engineering from US university and presetly on OPT work permit.
I do not have software background.
I have received call from consultant company.
They are offering me AIX UNIX training for four weeks and find me a job.
My question is how difficuilt... (5 Replies)
Discussion started by: saarth_desh
5 Replies
5. Shell Programming and Scripting
/usr/sbin/ifconfig -a | grep "inet" | grep -v "inet6" | grep -v "127.0.0.1" |
grep -v "0.0.0.0"|grep -v "192.168.100.2" | awk '{print $2}'
I use above command to get IP addresses on AIX boxes.Values coming here are set to a variable "Host IPs.IP Addresses" in my fingerprinting engine.
... (4 Replies)
Discussion started by: ak835
4 Replies
6. Shell Programming and Scripting
All,
I would like to know my below requirement can be achieved in any way in Shell Scripting? I will make this requirement of mine as understandable as I can.
Requirement:
I wrote a script 'my.script' which gets user-input tablenames and puts the same into an array. Also I get other inputs... (6 Replies)
Discussion started by: bharath.gct
6 Replies
7. UNIX for Advanced & Expert Users
Scenario:
Command used to capture IPs on a host:
/usr/sbin/ifconfig -a | grep "inet" | egrep -v "inet6|0.0.0.0|192.168.100.2" | awk '{print $2}'
Following for loop used to capture interface names:
for INTERFACE in `/usr/sbin/ifconfig -a | nawk '$1 ~ /:$/ && $1 {sub(":$", "", $1); print... (3 Replies)
Discussion started by: ak835
3 Replies
8. Linux
Evening all,
Im trying to get a script that will:
Select the most 3 recent files in a specific directory
Run a command on them (like chmod)
Ask of you would like to continue
Copy the files to another directory
If a linux guru could help me out, it would be very much appreciated.
Thanks... (2 Replies)
Discussion started by: Wiggins
2 Replies
9. UNIX for Advanced & Expert Users
:eek:i hav a shell script in my linux server, i want to execute it everyday once automatically without using cron tabs as i dont hav permission to create one.
So wht sld i do??:confused: (1 Reply)
Discussion started by: Jay Thakkar
1 Replies
10. Solaris
I just have a question regarding learning Solaris, I have a Linux and AIX background and I would like to learn Solaris, I have been giving some Solaris 10 Study Guides and just wondered how relevant they would be to Solaris 11 or should I try and get some study materials which are targeted towards... (1 Reply)
Discussion started by: markmorris182mx
1 Replies
LEARN ABOUT OSX
glisprogram
GLISPROGRAM(3G) OpenGL 3.3 GLISPROGRAM(3G)
NAME
glIsProgram - Determines if a name corresponds to a program object
C SPECIFICATION
GLboolean glIsProgram(GLuint program);
PARAMETERS
program
Specifies a potential program object.
DESCRIPTION
glIsProgram returns GL_TRUE if program is the name of a program object previously created with glCreateProgram() and not yet deleted with
glDeleteProgram(). If program is zero or a non-zero value that is not the name of a program object, or if an error occurs, glIsProgram
returns GL_FALSE.
NOTES
No error is generated if program is not a valid program object name.
A program object marked for deletion with glDeleteProgram() but still in use as part of current rendering state is still considered a
program object and glIsProgram will return GL_TRUE.
ASSOCIATED GETS
glGet() with the argument GL_CURRENT_PROGRAM
glGetActiveAttrib() with arguments program and the index of an active attribute variable
glGetActiveUniform() with arguments program and the index of an active uniform variable
glGetAttachedShaders() with argument program
glGetAttribLocation() with arguments program and the name of an attribute variable
glGetProgram() with arguments program and the parameter to be queried
glGetProgramInfoLog() with argument program
glGetUniform() with arguments program and the location of a uniform variable
glGetUniformLocation() with arguments program and the name of a uniform variable
SEE ALSO
glAttachShader(), glBindAttribLocation(), glCreateProgram(), glDeleteProgram(), glDetachShader(), glLinkProgram(), glUniform(),
glUseProgram(), glValidateProgram()
COPYRIGHT
Copyright (C) 2003-2005 3Dlabs Inc. Ltd. This material may be distributed subject to the terms and conditions set forth in the Open
Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
OpenGL 3.3 03/08/2011 GLISPROGRAM(3G)