GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
AFSORTSCORE(3) Amberfish AFSORTSCORE(3)

afsortscore - sort search results by score

#include af.h

int afsortscore(Afresult *result, int resultn);

The afsortscore function sorts results returned from afsearch(3), putting documents with the highest score at the top of the list.

The argument result specifies the array of results to be sorted.

The argument resultn specifies the number of elements in result.

This function returns 0 if it exited normally. If an error occurred, it returns -1 and aferrno is set.

This function returns only "core" errors.


Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.