Does kqueue signal EOF on an ordinary file when there is nothing left to
read?
The code at http://www.wand.net.nz/~mjl12/kqfile.c.txt
cc -Wall -o kqfile kqfile.c
./kqfile kqueue.c
doesn't ever get EOF notification as far as i can tell. as in, it isn't
signaled in kevent.flags, nor does kqueue sign
in sys/netsmb/smb_subr.c the following code fragment is used:
[FreeBSD 4.10]
int smb_checksmp(void)
{
int name[2];
int olen, ncpu, plen, error;
name[0] = CTL_HW;
name[1] = HW_NCPU;
error = kernel_sysctl(curproc, name, 2, &ncpu, &olen, NULL, 0, &plen);
Hi
I'm wondering under what conditions a function specified with atexit()
won't get called on FreeBSD when a program terminates.
The manual page says it gets called "via exit(3) or via return from the
program's main".
I take it that the cleanup function won't be called if the program dumps
core
use 3.0
I beleive the computers running 3.0 have been running it for several years
now - i.e. it was the latest available at the time.
On 7 Feb 2001, Dag-Erling Smorgrav wrote:
> Matthew Luckie <[EMAIL PROTECTED]> writes:
> > I have written a KLD module that implements a syscall
>
Hi
I have written a KLD module that implements a syscall
I wrote this module on 3.2-release, although this module is going to be
used on a 3.0-release machine
The relevant support for writing a syscall module was added after
3.0-release and is present in 3.1-release according to
http://www.Free
5 matches
Mail list logo