01-11-2008
Post the code section that is problematic or an strace of the process state during the blocking interval after the socket is closed please.
10 More Discussions You Might Find Interesting
1. HP-UX
Hi, there
On HP-UX IA server, when calling 'accept' function in my program, the server never wait the client's connection. Each time, it accepted the request from IP address 0.0.0.0 even there is no client's connection. The server program looks like :
main()
{
.
.
.... (4 Replies)
Discussion started by: Frank2004
4 Replies
2. Shell Programming and Scripting
Hello,
I stop a process with kill -s SIGSTOP, but when I try to restart it with kill -s SIGCONT it do nothing.
I use Fedora Core 4.
Thank you a lot (1 Reply)
Discussion started by: Nene
1 Replies
3. Gentoo
HI,
I installed fedora core 6 on my inspiron 1501. After I boot it gives me the following error,
PCI: BIOS BUG #81(00000000) found. (1 Reply)
Discussion started by: linuxuser
1 Replies
4. Linux
hi all
i am currently using fedora core 3 . i downloaded the iso image of fedora core 6 but after installing the fedora core 6 . while starting linux it gives a error saying init is been killed .
wht is happened?
thank u (3 Replies)
Discussion started by: nageshrk
3 Replies
5. Linux
Problem about Fedora directory permission,can anyone help me?
In fedora,I have two ordinary user named user1&user2 in different
groups,when I logined user1 and created a dir named test/ in '/home/
user1/',and do 'chmod 750 test',so when 'ls -l',it appears 'drwxr-
x---' for 'test',but when I... (3 Replies)
Discussion started by: zhouq3132
3 Replies
6. Red Hat
Hi guys
i installed fedora 9 in my system.
i installed perl-devel rpm and perl-5.10.0 rpm.
But perlcc not in /usr/bin/ directory.But perl,perldoc binaris installed.
i am new one for linux. (3 Replies)
Discussion started by: viveksnv
3 Replies
7. SuSE
I appeal to all those of you that have experience with Fedora 9 for help. I am trying to install a suite of software which tries to make changes to the /etc/dhcpd.conf file. After the changes have been made the dhcpd service will not start and the original conf file is restored. However dhcpd... (1 Reply)
Discussion started by: johnf
1 Replies
8. Linux
Hi there, I'm having a bit of a strange problem which I would appreciate some help with.
The Problem:
I have two external hard drives, but I'm borrowing one off my parents to copy data too (one of mine, which is identical to theirs - WD MyBook 300g - is on its way out).
Fedora 9 recognizes... (3 Replies)
Discussion started by: lasthidingplace
3 Replies
9. Red Hat
Hi,
I am having booting issue with Fedora 11 x86_64 (64-bit version) on my laptop.
Laptop configuration is as below:
OS : Windows Vista Home Premium (64-bit)
Processor : Intel Core 2 Duo T6400 2.0 GHz
RAM : 4 GB
Tried following different way for installation:
1. Installed Fedora 11 on... (2 Replies)
Discussion started by: r2kv2k
2 Replies
10. Linux
Hello,
Can anyone please explain HOW Crontab i.e. job scheduling daemon works in Fedora and CentOS or any Linux platform(Ubuntu)....
What are the points that i have to take care of if have to include a script to be run at a specific scheduled time.
URGENT reply requested. Please help (1 Reply)
Discussion started by: Vabiosis
1 Replies
LEARN ABOUT DEBIAN
fixadd
fixadd(3alleg4) Allegro manual fixadd(3alleg4)
NAME
fixadd - Safe function to add fixed point numbers clamping overflow. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
fixed fixadd(fixed x, fixed y);
DESCRIPTION
Although fixed point numbers can be added with the normal '+' integer operator, that doesn't provide any protection against overflow. If
overflow is a problem, you should use this function instead. It is slower than using integer operators, but if an overflow occurs it will
set `errno' and clamp the result, rather than just letting it wrap. Example:
fixed result;
/* This will put 5035 into `result'. */
result = fixadd(itofix(5000), itofix(35));
/* Sets `errno' and puts -32768 into `result'. */
result = fixadd(itofix(-31000), itofix(-3000));
ASSERT(!errno); /* This will fail. */
RETURN VALUE
Returns the clamped result of adding `x' to `y', setting `errno' to ERANGE if there was an overflow.
SEE ALSO
fixsub(3alleg4), fixmul(3alleg4), fixdiv(3alleg4)
Allegro version 4.4.2 fixadd(3alleg4)