This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: kread() and NULL pointers
- From: Roland McGrath <roland at redhat dot com>
- To: Mike Mason <mmlnx at us dot ibm dot com>
- Cc: systemtap at sourceware dot org
- Date: Mon, 16 Jul 2007 13:42:57 -0700 (PDT)
- Subject: Re: kread() and NULL pointers
> Does kread() generate an error if you pass it a NULL pointer?
Yes. It's safely caught like all errors, but it only returns successfully
when given a valid pointer.