Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 1999 12:17:15 -0600 (CST)
From:      Gurudatt Shenoy <gurudatt@cs.tamu.edu>
To:        freebsd-questions@freebsd.org
Subject:   Write to file from the kernel ?
Message-ID:  <Pine.GSO.3.96.990309121303.21802A-100000@dilbert>

next in thread | raw e-mail | index | archive | help

Hi
Is there any way to write the contents of an array declared in a kernel
routine to a file?

Example: In the function "socket" in /sys/uipc_syscalls.c, I have access
to an array  int TAB[MAX_TAB_SIZE].
I don't suppose we can use user level file I/O (open, write,close) to copy
the contents of TAB to a file. Any alternatives?

Thanks in advance,
Guru




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.990309121303.21802A-100000>