bsearch_bsearch man page on OSF1

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
OSF1 logo
[printable version]

bsearch (SunOS)						       bsearch (SunOS)

NAME
       bsearch - Performs a binary search

LIBRARY
       Standard C Library (libc.a)

SUN OS SYNOPSIS
       #include <search.h>

       char *bsearch(
	   char *key,
	   char *base,
	   unsigned nmemb,
	   sizeof (size),
	   int (*compar)( ));

DIGITAL UNIX SYNOPSIS
       #include <stdlib.h>

       void *bsearch(
	   const void *key,
	   const void *base,
	   size_t nmemb,
	   size_t size,
	   int (*compar)(const void *, const void *));

PARAMETERS
       Target  of  search.  Points to the initial object in the array.	Speciā€
       fies the number of elements in the array.  Specifies the byte  size  of
       each element of the array.  Points to the comparison function, which is
       called with two parameters that point to the key object and to an array
       member, in that order.

DIFFERENCES
       Requires stdlib.h instead of search.h. Changes in argument data types.

RELATED INFORMATION
       Digital UNIX Functions:

	   bsearch(3) delim off

							       bsearch (SunOS)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net