Description:
Q&A for people programming under Unix.
|
|
|
accept error
|
| |
why accept function gives error ? I have done the following steps.. created socket bound the socket socket listens socket accept..(here it returns always -1)
|
|
bind and setsockopt
|
| |
bind returns error when a port is already in use ....some process may be using it or the port may be just port is not used still it is hanging around kernel... how can i kinow the difference between these ????
|
|
bins and setsockopt
|
| |
...Off-topic for comp.lang.c Please ask in comp.unix.programmer, where it's more appropriate, assuming you're talking about POSIX bind. (I'm setting follow-ups there) You can examine errno. if(bind(...) == -1) { if(errno == EADDRINUSE) { /* ... */ } else if(...) ...The errors are listed in the following link, under ERRORS.... more »
|
|
Why isn't SIGKILL sent to the whole process group?
|
| |
Hi Can someone explain why under linux if I kill a parent process with say SIGTERM this signal is sent to the whole process group of that process (ie any child processes its created as long as they haven't used setpgrp() ) , but if I use SIGKILL this only gets sent to the specific process. What is the reason for this different behaviour?... more »
|
|
need help with makefile
|
| |
I have Makefile that build a pretty complex application. In it, have all: application that builds application. Now I want to add and option that user can type 'make install' that will copy (and build if it hasn't been) to $PLATFORM/application to $APP/bin/ Thanks
|
|
ANN: Seed7 Release 2008-10-05
|
| |
Hello, I have released a new version of Seed7: seed7_05_20081005.tgz In the Seed7 programming language new statements and operators can be declared easily. Types are first class objects and therefore templates/generics need no special syntax. Object orientation is used when it brings advantages and not in places when other... more »
|
|
Data being reflected back from pty master
|
| |
Hi I've written some code which opens a pty master using the posix_openpt(), grantpt() and unlockpt() group of functions and then a child is forked which opens a slave to this master pty. It all seems to work fine but the problem is that any data I write() to the master file descriptor in the parent process seems to be reflected back as... more »
|
|
new too unix
|
| |
hi i am windows programmer but i want too change to unix but i do not know which unix i must to install.i have sony vaio laptop .can u help me to start unix? thanks
|
|
how to increase the memory on hp-ux B.11.23
|
| |
hi, I have read the below extract .1. How can I increase the memory limit for 32-bit apps ? On HPUX 11, you have these options that you can use to increase memory above the default memory limit of 0.9GB for 32-bit apps using the HP compilers: * compile/link with -Wl, -N to get up to 2GB of memory for 32-... more »
|
|
|