*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtSearchSortResults (3)              
Title
Content
Arch
Section
 

Contents


 DtSearchSortResults(library call)         DtSearchSortResults(library call)




 NAME    [Toc]    [Back]
      DtSearchSortResults - Sort DtSearch results lists

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

 DESCRIPTION    [Toc]    [Back]
      DtSearchSortResults sorts lists returned from DtSearchQuery.

      Note that results lists are already presorted by proximity by
      DtSearchQuery.

 ARGUMENTS    [Toc]    [Back]
      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    [Toc]    [Back]
      DtSearchSortResults returns DtSrERROR if sort_type is invalid.
      Otherwise, it returns DtSrOK.

 SEE ALSO    [Toc]    [Back]
      DtSrAPI(3), DtSearchQuery(3), DtSearchFreeResults(3),
      DtSearchMergeResults(3)


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtSearchMergeResults HP-UX Merge two DtSearch results lists into one
DtSearchFreeResults HP-UX Free storage allocated for DtSearch results lists
DtSearchSetMaxResults HP-UX Set the DtSearch maximum results value
DtSearchGetMaxResults HP-UX Obtain the DtSearch maximum results value
CL_CertAbortQuery Tru64 Terminate a results handle (CDSA)
CSSM_CL_CertAbortQueryfunction Tru64 Terminate a results handle (CDSA)
compview IRIX tool for viewing results of compression
disassembler IRIX disassemble a MIPS instruction and print the results
CSSM_TP_RetrieveCredResult Tru64 Return the results of the credentials request (CDSA)
aio_results_np Tru64 Returns results for completed asynchronous I/O operations
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service