Hi All,
I am facing a very peculiar problem with my applciation.
The problem is that one of my process is making core very rarely.But when
I am going to debug it,it is not showing any prints.
The Make file is :
g++ -g $(commonobjfiles) -o ipcl $(INCLUDES) -z muldefs -lpthread -lsocket... (0 Replies)
I am hoping someone can help me with this little riddle.
I have an oldish Epson ESC/P2 which I connected to a solaris10 box, with 2 queues, 1 with the solaris print filter so I can print from Solaris (works fine), and a second raw queue so that windows machines can print to it.
The raw queue... (0 Replies)
Here's the command I'm running:
# echo "hi" | awk '{etime = system("hostname") ; close("hostname") ; print etime""}'
And here's the ouput:
server.domain.tld
0
Why in the world is that second line, the one that's just "0", there? Many thanks in advance. (2 Replies)
Hi ,
On my box everything works fine. But whenever I run command
It returns nothing as you see @(none) too.
Its very strange issue I have never noticed on any other system yet.
Any one have any idea about this.
Thank you (2 Replies)
i have 3 files as below:
i want to print 1st,2nd,5th and 10th filed of 1st to 5th lines from each files into a line of an output file, so the result would be:
:
{line1}(field 1 of line 1 from file 1)(field 2 of line 1 from file 1)(field 5 of line 1 from file 1)(field 10 of line 1 from file... (1 Reply)
Hello,
I need a program that read a file line by line and prints out lines 1, 2 & 3 after an empty line... An example of entries in the file would be:
SRVXPAPI001 ERRO JUN24 07:28:34 1775
REASON= 0000, PROCID= #E506 #1065: TPCIPPR, INDEX= 003F
... (8 Replies)
Hello,
I need a little help with the following:
I'm using AWK to read input from a comma-seperated value file, and only printing certain fields like so:
awk -F "," '{print $1,$3,$6}' /list.csv | tail -1
Which outputs the following:
server1 APPID OS
I run into a problem... (8 Replies)
My code fails to do anything if I've BEGIN block in it:
Run the awk script as:
awk -f ~/bin/sum_dupli_gene.awk make_gene_probe.txt
#!/usr/bin/awk -f
BEGIN {
print ARGV
#--loads of stuff
}
END{
#more stuff
} (14 Replies)
Discussion started by: genome
14 Replies
LEARN ABOUT OPENDARWIN
lroundf
ROUND(3) BSD Library Functions Manual ROUND(3)NAME
round, lround, llround -- round to integral value, regardless of rounding direction
SYNOPSIS
#include <math.h>
double
round(double x);
float
roundf(float x);
long int
lround(double x);
long int
lroundf(float x);
long long int
llround(double x);
long long int
llroundf(float x);
DESCRIPTION
The round() and roundf() functions return the integral value nearest to x rounding half-way cases away from zero, regardless of the current
rounding direction.
The lround() , lroundf() , llround() and llroundf() functions return the integral value nearest to x (rounding half-way cases away from zero,
regardless of the current rounding direction) in the return formats specified. If the rounded value is outside the range of the return type,
the numeric result is unspecified and the "invalid" floating-point exception is raised. A range error may occur if the magnitude of x is too
large.
SPECIAL VALUES
round(+-0) returns +-0.
round(+-infinity) returns +-infinity.
The round() functions may, but are not required to, raise the "inexact" floating-point exception for non-integer numeric arguments.
The lround() and llround() functions need not raise the "inexact" floating-point exception for non-integer arguments that round to within the
range of the return type.
SEE ALSO abs(3), fabs(3), ceil(3), floor(3), ieee(3), math(3), rint(3)STANDARDS
The round() , roundf() , lround() , lroundf() , llround() , and llroundf() functions conform to ISO/IEC 9899:1999(E).
BSD July 22, 2003 BSD