Xref: utzoo comp.lang.c:25858 comp.unix.xenix:10032 Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!newstop!texsun!smunews!attctc!ozdaltx!root From: root@ozdaltx.UUCP (root) Newsgroups: comp.lang.c,comp.unix.xenix Subject: qsort() - HELP Message-ID: <5916@ozdaltx.UUCP> Date: 12 Feb 90 14:55:54 GMT Organization: OZ BBS - Dallas, TX Lines: 24 After going over the manuals more times than I'd like, I still can't figure out how to get qsort() (S) to operate. The example shows something like: void qsort(base, nel, width, compar) char *base unsigned nel, width int (*compar)() Is base supposed to be an array? nel & width are self-explanitory What is compar() looking for or how is it assigned? The objective is to sort an array of strings in alpha order and then be able to read them. So far I'm getting is core dumps. Any help, suggestions will be appreciated. thanks Scotty ------ AIDS INFORMATION EXCHANGE BBS (214) 247-2367/247-5609 "Education is the best weapon" {ames,rutgers,texsun,smu}!attctc!ozdaltx!sysop