 |
|
| |
FreeBSD Man Page Search Results
|
Rank |
Title |
File Size |
1. |
HCREATE(3) |
17 K |
2. |
ODF::lpOD_Helper(3) - fix and enhance ODF::lpOD |
43 K |
3. |
STRESS-NG(1) - stress "next generation", a tool to load and stress a computer system |
539 K |
4. |
PERLCLIB(1) - Interacting with standard C library functions |
68 K |
5. |
TSEARCH(3) |
14 K |
6. |
LSEARCH(3) - right);}intmain(int argc, char **argv){ const int array[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; size_t element_size = sizeof(array[0]); size_t array_size = sizeof(array) / element_size; int key; void *element; printf("Enter a number: "); if (scanf("%d", &key) != 1) { printf("Bad input\n"); return (EXIT_FAILURE); } element = lfind(&key, array, &array_size, element_size, element_compare); if (element != NULL) printf("Element found: %d\n", *(int *)element); else printf("Element not found\n"); return (EXIT_SUCCESS);} |
12 K |
|
Go back to the Man Page Section.
|
This database contains 118,499 topics and 836,414 keywords
|
|