Home
last modified time | relevance | path

Searched refs:numFortunes (Results 1 – 1 of 1) sorted by relevance

/external/icu/icu4c/source/samples/ufortune/
Dufortune.c78 int32_t numFortunes; /* Number of fortune strings available. */ in main() local
186 numFortunes = ures_countArrayItems(myResources, "fortunes", &err); in main()
191 if (numFortunes <= 0) { in main()
196 i = (int)time(NULL) % numFortunes; /* Use time to pick a somewhat-random fortune. */ in main()