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

FreeBSD Manual Pages

  
 
  

home | help
DtSearchSetMaxResults(library call)	   DtSearchSetMaxResults(library call)

NAME
       DtSearchSetMaxResults --	Set the	DtSearch maximum results value

SYNOPSIS
       #include	<Dt/Search.h>
       void DtSearchSetMaxResults(
       int max);

DESCRIPTION
       The  results  list  returned  from DtSearchQuery	will be	truncated to a
       maximum number of items after search completion and  statistical	 rank-
       ing. DtSearchSetMaxResults changes the maximum results setting to max.

       If DtSearchSetMaxResults	is never called, the maximum number of DtSrRe-
       sult items returned will	default	to 20.

       The function can	be called any time after DtSearchInit().

ARGUMENTS
       max	 Specifies the maximum number of items in  the	list  returned
		 from DtSearchQuery.

RELATED
       DtSrAPI(3), DtSearchGetMaxResults(3), DtSearchQuery(3)

					   DtSearchSetMaxResults(library call)

NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | RELATED

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

home | help