I want to parsing some program's log and I want to check the existence of a core file in the log directory.
Assume the path
is the log directory, and core file names always begins with string core
(e.g., name is core.20161027.183805.28273.0001.dmp
). Then is there any directed API I can use to check a core file in the path
directory?
Thanks