LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Library function to search for files on Linux (https://www.linuxquestions.org/questions/red-hat-31/library-function-to-search-for-files-on-linux-170817/)

vtluu 04-16-2004 03:51 AM

Library function to search for files on Linux
 
Does Linux have any function allowing for searching specified directories for a file with a specified name, just like pathfind() function on Solaris?

Thanks and regards,

Luu Vo.

micxz 04-16-2004 03:57 AM

How about ` find ` or ` locate `

vtluu 04-16-2004 05:31 AM

But I want subroutines (functions), not user commands like find or locate.
Thanks,
Luu Vo.

micxz 04-16-2004 02:31 PM

"Linux have any function" I think you need to look at the programming language your working with and each has different way of handling functions for example in bash a function can be created just:
http://www.tldp.org/LDP/abs/html/functions.html


All times are GMT -5. The time now is 12:40 AM.