10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
My requirment is to Query the oracle database , generate the file change the extension to .csv and send to clients automatically everyday.
However i am able to perform the task. But sometimes when the file size is getting increased more than 1 MB then the mail is... (5 Replies)
Discussion started by: Showdown
5 Replies
2. Programming
Hi friends,
Hope everybody is fine. First have a look at my code, then we will talk about it.
$ cat copy.c
#include <stdio.h>
#define PERMS 0644 /* RW for owner, R for group, others */
#define BUFSIZE 1
char *progname;
int main(int argc,char * argv)
{
int f1, f2, n;
... (4 Replies)
Discussion started by: gabam
4 Replies
3. UNIX for Advanced & Expert Users
Hi All,
I have set max stack size as 4KB for my thread, but it always using very less.
So I like to know what is the maximum stack size is used by my thread.
I tried with gcc -fstack-usage command line option, but its not supported by mips.
Kindly suggest me the way to find the max stack... (6 Replies)
Discussion started by: rajamohan
6 Replies
4. AIX
Hi,
Do you know what is the maximum size I can use to create a ramdisk on AIX 5.3? I m pretty sure i've seen somewhere i can use more than 2 Gb but I can't remember where. I need to do some recommandations for one of my customer and they'll need to create a ramdisk of 20 Gb. Can this be done?
... (1 Reply)
Discussion started by: cedric hanquez
1 Replies
5. UNIX for Dummies Questions & Answers
Is there a reasonable maximum limit for tar file sizes? I want to transfer a pile of files from one server to another but have restricted means, so tarring them first will probably be best... but how big can I go - both for the file format itself and for the operating system (linux) to handle? ... (7 Replies)
Discussion started by: Bobby
7 Replies
6. UNIX for Dummies Questions & Answers
What's the maximum file size supported by unix. (3 Replies)
Discussion started by: nagalenoj
3 Replies
7. HP-UX
Hi friends,
what is the maximum allowable attachment size, we can send using mailx command. what is an alternate option if my file is > than that size?
thanks
sreeji (0 Replies)
Discussion started by: sreejithau
0 Replies
8. UNIX for Dummies Questions & Answers
Hello,
Can anyone let me know what is the maximum file size that can be given as input for the "Diff" Command in Unix?
I have a file size as large as 28MB and which can also increase. Will I face any issues with such a file size. If yes, What is the other alternative.
Thanks in advance for... (1 Reply)
Discussion started by: Neeraja
1 Replies
9. Programming
Hi,
When i checked for the maximum file size on solaris 5.9
the max file size obtained was only 2147483647
and all the further writes to the file which had reached that max size is not added to that file.
even i had registered the signal SIGXFSZ, but the signal was not delivered to the... (5 Replies)
Discussion started by: matrixmadhan
5 Replies
10. UNIX for Dummies Questions & Answers
The sed -f option (reading sed commands from a file) seems to have a limit of 200 transactions per file. I can't see anything in the man pages about this restriction.
I have a file with several thousand sed commands I need to perform (substitutions) - and while I can split the file into... (14 Replies)
Discussion started by: peter.herlihy
14 Replies
glutInit(3GLUT) GLUT glutInit(3GLUT)
NAME
glutInit - initialize the GLUT library.
SYNTAX
#include <GLUT/glut.h>
void glutInit(int *argcp, char **argv);
ARGUMENTS
argcp A pointer to the program's unmodified argc variable from main. Upon return, the value pointed to by argcp will be updated,
because glutInit extracts any command line options intended for the GLUT library.
argv The program's unmodified argv variable from main. Like argcp, the data for argv will be updated because glutInit extracts any
command line options understood by the GLUT library.
DESCRIPTION
glutInit will initialize the GLUT library and negotiate a session with the window system. During this process, glutInit may cause the ter-
mination of the GLUT program with an error message to the user if GLUT cannot be properly initialized. Examples of this situation include
the failure to connect to the window system, the lack of window system support for OpenGL, and invalid command line options.
glutInit also processes command line options, but the specific options parse are window system dependent.
X IMPLEMENTATION NOTES
The X Window System specific options parsed by glutInit are as follows:
-display DISPLAY
Specify the X server to connect to. If not specified, the value of the DISPLAY environment variable is used.
-geometry WxH+X+Y
Determines where window's should be created on the screen. The parameter following -geometry should be formatted as a standard X
geometry specification. The effect of using this option is to change the GLUT initial size and initial position the same as if
glutInitWindowSize or glutInitWindowPosition were called directly.
-iconic Requests all top-level windows be created in an iconic state.
-indirect
Force the use of indirect OpenGL rendering contexts.
-direct Force the use of direct OpenGL rendering contexts (not all GLX implementations support direct rendering contexts). A fatal error is
generated if direct rendering is not supported by the OpenGL implementation.
If neither -indirect or -direct are used to force a particular behavior, GLUT will attempt to use direct rendering if possible and
otherwise fallback to indirect rendering.
-gldebug
After processing callbacks and/or events, check if there are any OpenGL errors by calling glGetError. If an error is reported,
print out a warning by looking up the error code with gluErrorString. Using this option is helpful in detecting OpenGL run-time
errors.
-sync Enable synchronous X protocol transactions. This option makes it easier to track down potential X protocol errors.
SEE ALSO
glutCreateWindow, glutInitWindowPosition, glutInitWindowSize, glutMainLoop
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutInit(3GLUT)