what is definition of generic function in following paper ? i need a reference for definition generic function .
"A. Hatcher, W. Thurston, A presentation for the mapping class group of a closed orientable surface "
...let f be any generic function on M having $C_1, . . . , C_r$ as non-critical level curves....