|  |  
 |   |   
 NAMEafsortdocid - sort search results by document identifier SYNOPSIS#include af.h int afsortdocid(Afresult *result, int resultn); DESCRIPTIONThe afsortdocid function sorts results returned from afsearch(3), ordering them by document identifier. The argument result specifies the array of results to be sorted. The argument resultn specifies the number of elements in result. RETURN VALUEThis function returns 0 if it exited normally. If an error occurred, it returns -1 and aferrno is set. ERRORSThis function returns only "core" errors. 
 |