Easy question, how to use stdio.h
Thanks!!
Just another question, I have seen the libipt_multiport.so file (it's the match that I'm changing) but I haven't seen any libipt_multiport.c file where I could modify to use stdio.h.
How can I modify the multiport match in the user space?
Thanks again
Juan
----- Mensaje Original -----
De: Evrim ULU <[email protected]>
Fecha: Martes, Abril 22, 2003 8:18 pm
Asunto: Re: Easy question, how to use stdio.h
Quoted 40 lines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1[email protected] wrote:
|Hello: | |Maybe my question is very easy, but I'm new developing in Linux. |I'm trying to use fopen, fprintf and fclose in a match, so I'm writting |#include <stdio.h> |but when I compile the kernel and I do |make modules |the system doesn't recognize any of these functions |How can I use them???
stdio.hincludes glibc functions which are user space implementations.
You cannot use them in kernel space. However, some are implemented in
kernel space seperately like strncat, strncpy. See kernel headers for
more detail.For more information about userspace/kernelspace, see kernelnewbies mailing list.
Evrim.
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.orgiD8DBQE+pYd66+aEfy4lqIARAsOqR+I+Z9+ffKLcV0HhBQjoI= =0m/J
-----END PGP SIGNATURE-----