Re: Problems with close() system call

From: Jan Engelhardt
Date: Tue Oct 26 2004 - 06:33:06 EST


>Hi,
>
>I have a question regarding the close() system call. I have written my
>own character driver for a serial type card with 8 ports. [...]
>somehow a close system
>call has been initiated (not called by my user app).

Best is to put a printk("i'm in ioctl()") in the ioctl() function and a
printk("i'm in close()") in the close() one, to be really sure whether the
close() function of your module is called.

>

Jan Engelhardt
--
Gesellschaft für Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 Göttingen, www.gwdg.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/