01-11-2008
Quote:
Originally Posted by
shamrock
What compiler and on what platform is it giving this output? I am unable to duplicate your results.
am using SUNOS 5.9 with cc compiler
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Explain the output of the command “sort -rfn file1 | more” (1 Reply)
Discussion started by: wickbc
1 Replies
2. Shell Programming and Scripting
I did not understand what is ${0##/}
PGM=${0##/}
TMP=/tmp/${PGM}.$$
Please explain me. (2 Replies)
Discussion started by: gadege
2 Replies
3. UNIX for Dummies Questions & Answers
if
then
echo "Syntax: $0 <sid> <COLD/HOT> <DEST>"
exit
fi
if --------------what does this mean???
echo "Syntax: $0 <sid> <COLD/HOT> <DEST>"---pls explain this as well (2 Replies)
Discussion started by: appsdba.nitin
2 Replies
4. Shell Programming and Scripting
hi all i have an example i want one help me to understand cause i tried to test it but almost fail and i don't know how can i solve this problem " the main idea to read from two files and replace something from one to another " but i don't understand why it fail all time
$ cat main.txt... (4 Replies)
Discussion started by: maxim42
4 Replies
5. Programming
#include<signal.h>
#include<stdio.h>
#include<stdlib.h>
sigcatcher()
{
printf("pid=%d",getpid());
signal(SIGINT,sigcatcher); //line1
}
main()
{
int ppid;
signal(SIGINT,sigcatcher);
if(fork()==0)
{
sleep(5);
ppid=getppid();
while(1)... (4 Replies)
Discussion started by: gol007
4 Replies
6. Shell Programming and Scripting
cur_fy=`grep "CONSOL" $GLDATA/parms/cur_fiscalyear.lis | awk '{print $2}'
Here i don't understand "CONSOL" and awk'{print$2)
Please help me out
cur_fiscalyear.lis contents :
DL 2011
MOL 2011
MV 2011
SF 2010
CONSOL 2011
MVU 2011 (3 Replies)
Discussion started by: Diddy
3 Replies
7. Shell Programming and Scripting
Dear unix team
i'm user for a system build on unix system ,so we need to run a lot of scripts not in one sission but every script on the associated terminal , so the script name = the name of the terminal which will run this script on it . and someone create a batch that make as below :
1- but... (4 Replies)
Discussion started by: fofatoti
4 Replies
8. Solaris
Can anyone explain the output of probe-scsi command below?
ok probe-scsi
Target 0
Unit 0 Disk SEAGATE ST373207LSUN72G 045A
Target 1
Unit 0 Disk SEAGATE ST373207LSUN72G 045A
I have no idea what it means. I tried to read online but I still did not understand. I appreciate... (6 Replies)
Discussion started by: cjashu
6 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have old SCO O/S. System keeps crashing. I made lot of changes to kernel but so for nothing helped. I wrote a script which takes netstat -an output every one minute. I saw some thing right before the system crashed. Not sure if this means anything..
uname -a
SCO_SV djx2 3.2... (2 Replies)
Discussion started by: samnyc
2 Replies
10. Solaris
Hi Solaris Folks :),
I need to calculate the swap usage on solaris server, please let me understand the output of below swap -s and swap -l commands.
$swap -s
total: 1774912k bytes allocated + 240616k reserved = 2015528k used, 14542512k available
$swap -l
swapfile dev swaplo... (6 Replies)
Discussion started by: seenuvasan1985
6 Replies
LEARN ABOUT CENTOS
g-ir-compiler
g-ir-compiler(1) General Commands Manual g-ir-compiler(1)
NAME
g-ir-compiler - typelib compiler.
SYNOPSIS
g-ir-compiler [OPTION...] GIRFILE
DESCRIPTION
g-ir-compiler converts one or more GIR files into one or more typelib. It can either emit the raw typelib blob (default behavior) or C
code (--code). The output will be written to standard output unless the --output is specified.
OPTIONS
---help
Show help options
---code
Emit C code which is suitable for including in a shared library instead of a raw typelib.
---output=FILENAME
Save the resulting output in FILENAME.
---verbose
Show verbose messages
---debug
Show debug messages
---no-init
Do not include an initialization snippet to register the typelib in the respository. This can only be used if --code is also speci-
fied.
---includedir=DIRECTORY
Adds a directory which will be used to find includes inside the GIR format.
---module=MODULE
FIXME
---shared-library=FILENAME
Specifies the shared library where the symbols in the typelib can be found. The name of the library should not contain the leading
lib prefix nor the ending shared library suffix.
BUGS Report bugs at http://bugzilla.gnome.org/ in the glib product and introspection component.
HOMEPAGE and CONTACT
http://live.gnome.org/GObjectIntrospection
AUTHORS
Mattias Clasen
g-ir-compiler(1)