Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!bader+ From: bader+@andrew.cmu.edu (Miles Bader) Newsgroups: comp.lang.c Subject: Re: Function-types: compatability, and typedefs Message-ID: Date: 1 Sep 89 17:06:16 GMT References: <19361@mimsy.UUCP>, <1996@munnari.oz.au> Distribution: comp Organization: Information Technology Center, Carnegie Mellon, Pittsburgh, PA Lines: 8 In-Reply-To: <1996@munnari.oz.au> ok@cs.mu.oz.au (Richard O'Keefe) writes: > and pass that as the fourth argument. I can't think of any case where it > would make sense to pass strcmp to qsort(). When you have an array of fixed sized buffers (strings), e.g. char strings[20][30]. It's not particularly *efficient* to do this, but it is correct...