Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DtSearchSortResults(library call)	     DtSearchSortResults(library call)

NAME
       DtSearchSortResults -- Sort DtSearch results lists

SYNOPSIS
       #include	<Dt/Search.h>
       int DtSearchSortResults(
       DtSrResult **list,
       int sort_type);

DESCRIPTION
       DtSearchSortResults sorts lists returned	from DtSearchQuery.

       Note that results lists are already presorted by	proximity by DtSearch-
       Query.

ARGUMENTS
       list	 Specifies results lists returned from DtSearchQuery.

       sort_type Specifies the DtSrResult sort field. Valid values are:

		 DtSrSORT_PROX
			   Sorts in ascending DtSrResult.proximity order.

		 DtSrSORT_DATE
			   Sorts in descending DtSrResult.objdate order.

RETURN VALUE
       DtSearchSortResults returns DtSrERROR if	sort_type is  invalid.	Other-
       wise, it	returns	DtSrOK.

SEE ALSO
       DtSrAPI(3),  DtSearchQuery(3), DtSearchFreeResults(3), DtSearchMergeRe-
       sults(3)

					     DtSearchSortResults(library call)

NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DtSearchSortResults&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help