From owner-freebsd-questions Wed Aug 22 20:24: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fedde.littleton.co.us (cfedde.dsl.frii.net [216.17.139.141]) by hub.freebsd.org (Postfix) with ESMTP id 793D237B407 for ; Wed, 22 Aug 2001 20:24:02 -0700 (PDT) (envelope-from cfedde@fedde.littleton.co.us) Received: from fedde.littleton.co.us (localhost [127.0.0.1]) by fedde.littleton.co.us (8.11.4/8.11.4) with ESMTP id f7N3O0q12578; Wed, 22 Aug 2001 21:24:00 -0600 (MDT) Message-Id: <200108230324.f7N3O0q12578@fedde.littleton.co.us> To: "Greg McPherran" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: New User In-Reply-To: <000a01c12b77$6436cc60$6401a8c0@ne.mediaone.net> From: Chris Fedde Date: Wed, 22 Aug 2001 21:24:00 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 22 Aug 2001 22:00:26 -0400 "Greg McPherran" wrote: +------------------ | This is a multi-part message in MIME format. | | ------=_NextPart_000_0007_01C12B55.D9793B60 | Content-Type: text/plain; | charset="iso-8859-1" | Content-Transfer-Encoding: quoted-printable +------------------ You might want to set up your mail client so that it posts plain text to this list instead of multipart/alternative +------------------ | Hi, | | I would like to contribute and I am particularly interested in helping = | simplify the install process. I have about 17 years of software = +------------------ Like most opensource projects FreeBSD amounts to a voluntary meritocracy. Pick some part you are interested in start working on it. Read the TODO list and projects (http://www.freebsd.org/projects/index.html) If you contribute good stuff you get to contribute. +------------------ | How do you cast a long to a function pointer.=20 | | long l; | | f = ( void (*)( ) ) l; +------------------ Years ago this technique was used in a test program called crashme. Basically it generated a random number, cast it as you have shown then called it. On some older unixes this caused the OS to crash. Needless to say most of those OSes are long out of use. -- Chris Fedde To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message