05-11-2015
tcpdump: BIOCVERSION: Invalid argument is the output I get
9 More Discussions You Might Find Interesting
1. Cybersecurity
Hello,
Is there a functional flow of the UNIX security system that I can view? (1 Reply)
Discussion started by: spanglerbrod
1 Replies
2. Programming
hello im facing a queer problem when i execute the foll code in unix
# include <stdio.h>
# include <unistd.h>
main(int argc,char *argv)
{
FILE *fp = fopen("/ras/chirag/fifotest/file.fifo","a");
int i=1;
fprintf(fp,argv);
printf("I SLEEP");
system("date");
for (i=0;i<50;i++)... (2 Replies)
Discussion started by: tej.buch
2 Replies
3. Programming
Any One help how to draw the flow chart for C programe ?
If any usefull link's. (1 Reply)
Discussion started by: sabari
1 Replies
4. Programming
Hi,
my program stops with a buffer overflow error, but i can't understand the problem. I have a file like:
int array; //global variable
void func(){
int i;
for(i=0;i<n;i++)array=-1;
...
}
I had the error when i added the array initialization.
the file is a part of a C project. What... (1 Reply)
Discussion started by: littleboyblu
1 Replies
5. Shell Programming and Scripting
i am in an epic quagmire of horrid misunderstanding.
its been a while since ive been in the scene, couldnt remember my login for the account i used to have here, so excuse the 1st post. i dont want it to seem like ima post n boogy. in any case here we go:
just recently installed mandriva... (6 Replies)
Discussion started by: SirDonkeyPunch
6 Replies
6. IP Networking
I have a number of Windows CE operator terminals. They have facility to print alarms/messages to ...
aser or Inkjet (so they're using PCL).
USB or IP. IP connection takes just the IP address.
Question
How could I create a service or daemon on a server to capture all this data?... (7 Replies)
Discussion started by: transistor
7 Replies
7. Shell Programming and Scripting
hi ,
I am new to scripting, i have a doubt can any one pls solve it for me
the code is not working
set users = (user1 user2 user3)
echo The users are
echo $users
echo Enter the USER NAME
set USER_NAME = $<
set i = 1;
for ( i = 1; i <= $#users; i++ )
if ( $USER_NAME == $users )... (1 Reply)
Discussion started by: Manju87
1 Replies
8. Shell Programming and Scripting
B()
{
}
A()
{
calling a function B
}
for condition
do
calling a function A
done
Shall after executing function B, the control will return back to loop?
Thanks in advance :) (2 Replies)
Discussion started by: ezee
2 Replies
9. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
fmod(3) Library Functions Manual fmod(3)
NAME
fmod, drem, remainder - Compute the floating-point remainder
LIBRARY
Math Library (libm.a)
SYNOPSIS
#include <math.h>
double fmod (double x, double y); float fmodf (float x, float y); long double fmodl (long double x,
long double y); double drem (double x, double y); float dremf (float x, float y); long double dreml
(long double x, long double y); double remainder (double x, double y); float remainderf (float x, float y); long double
remainderl (long double x, long double y);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
fmod(): XPG4
remainder(): XPG4-UNIX
Refer to the standards(5) reference page for more information about industry standards and associated tags.
DESCRIPTION
The fmod(), fmodf(), and fmodl() functions return the remainder r = x - n*y, where n = trunc(x/y). The result has the same sign as x and
magnitude less than the magnitude of y. The remainder is computed exactly and |r| is less than |y|.
The drem(), dremf(), dreml(), remainder(), remainderf(), and remainderl() functions return the remainder r = x - n*y, where n = rint(x/y).
Additionally, if |n - x/y|=1/2, then n is even. The remainder is computed exactly and |r| is less than or equal to |y|/2.
The drem() and remainder() functions are aliases of each other. The dremf(), and remainderf() functions are aliases of each other. The
dreml() and remainderl() functions are aliases of each other.
The following table describes function behavior in response to exceptional arguments:
---------------------------------------------------------------------------
Function Exceptional Argument Routine Behavior
---------------------------------------------------------------------------
fmod(), fmodf(), fmodl() x = infinity Invalid argument
fmod(), fmodf(), fmodl() y = 0 Invalid argument
drem(), dremf(), dreml() x = infinity Invalid argument
drem(), dremf(), dreml() y = 0 Invalid argument
remainder() x = infinity Invalid argument
remainderf() x = infinity Invalid argument
remainderl() x = infinity Invalid argument
remainder() y = 0 Invalid argument
remainderf() y = 0 Invalid argument
remainderl() y = 0 Invalid argument
---------------------------------------------------------------------------
delim off
fmod(3)