10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Need assistance in Source code compilation .
When installing a software compiling a source code . Whatever the output that prints on the screen i want to log it into a file. How can i see output and store the output to file
./configure
make
make install
Is there other way of seeing output... (5 Replies)
Discussion started by: ajayram_arya
5 Replies
2. Programming
#include<stdlib.h>
#include <pthread.h>
#include "tlpi_hdr.h"
#include <stdio.h>
static volatile int glob = 0;
static struct {
pthread_t t1,t2;
} *thread;
static void * /* Loop 'arg' times incrementing 'glob' */
threadFunc(void *arg)
{
int loops = *((int *) arg); ... (1 Reply)
Discussion started by: fwrlfo
1 Replies
3. Shell Programming and Scripting
Hello,
When I run this UNIX code without the -t option it gives me the desired results.
The code keeps the record with the greatest datetime based on the key columns.
I sort it first then sort it again with the -u option, that's it.
I need to have a variable to specify an ASCII character... (2 Replies)
Discussion started by: script_op2a
2 Replies
4. Programming
Hi Friends,
I have written a small code in C which performs the below operations
Task : 1 ) read line by line from a file.
2 ) assuming 3th and 4th fields of the file as GN and GNTO
3 ) The target file should contain all the fields except GNTO.
4... (3 Replies)
Discussion started by: kiran_bhatter
3 Replies
5. Programming
I'm running a query similar to the one that I'm describing below -:
_______________________________
EXEC SQL INSERT INTO TABLE1
( C1
,C2
,C3
,C4 )
(SELECT DISTINCT B.V1
,B.V2
,( SELECT D.V3 FROM TABLE2 D WHERE D.V3 = C.V4)
,B.V4
FROM TABLE2 B ,TABLE3 C
WHERE B.V3 = C.V4) ;... (1 Reply)
Discussion started by: maheshp
1 Replies
6. Programming
(gdb) r --------------------- enter
Breakpoint 1, 0x0000000000409d40 in main ()
(gdb) n
Single stepping until exit from function main,
which has no line number information.
Find_Cmd_Option: found option no. 2: seed (s)
Find_Cmd_Option: found option no. 5: dfile (c)
Initial no. div... (1 Reply)
Discussion started by: cdbug
1 Replies
7. Programming
Hi
some help read............
I'm getting a segmentation fault when I run an AIX COBOL/Db2 program.
I initiate the program from the command line, but it hangs, and then when I press enter it generates a segmantation fault and produces a core dump.
The box is running AIX software level ... (5 Replies)
Discussion started by: steve_f
5 Replies
8. Programming
Hi,
First of all forgive me if Xlib related problems does not go under this thread.
In my main program, im using Xlib`s XImage type object which contains a regularly updating bitmap, and maps the XImage to a Xwindow using XPutImage.
( XCreateImage is used to create the XImage. )
The... (0 Replies)
Discussion started by: wolwy_pete
0 Replies
9. Programming
Hi all,
I implemented an application, through using c++ and compiled it with g++.
At first, what I did is (@ compilation):
g++ calcBacon.C -o test -DDEBUG
after I ran my application it took almost 120 sec. to finish its execution
when I compiled with optimization parameters, execution... (5 Replies)
Discussion started by: SaTYR
5 Replies
10. Programming
Okay, so here is some code that when compiled on Fedora Core 6 works great, but when I compile and run it on OpenSuse 10 it gives back a seg fault when trying to join the 2nd thead.
#include <pthread.h>
#include <stdio.h>
int print_message_function( void *ptr );
int x = 1;
main()
{
... (1 Reply)
Discussion started by: chrisdrobison
1 Replies
VIEWPHSEG(3) MBK PHYSICAL FUNCTIONS VIEWPHSEG(3)
NAME
viewphseg - display elements of a phseg_list
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "mph.h"
void viewphseg(pt)
phseg_list *pt;
PARAMETER
pt Pointer to the phseg to be scaned
DESCRIPTION
viewphseg scans all the primary elements of the phseg_list pointed to by pt, and displays a textual output of the data strcuture contents.
Its use is mostly for debugging purposes, and educational ones, since the output is quite verbose, even if very easy to understand.
EXAMPLE
#include <stdio.h>
#include "mph.h"
void view_seg(ptfig)
phfig_list *ptfig;
{
phseg_list *seg;
for (seg = ptfig->PHSEG; seg; seg = seg->NEXT)
viewphseg(seg);
}
SEE ALSO
mbk(1), phseg(3), viewph(3), viewphfig(3), viewphins(3), viewphref(3), viewphvia(3), viewphcon(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM
/LIP6 October 1, 1997 VIEWPHSEG(3)