Newsgroups: comp.sys.mac.programmer Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!bronze!copper!huntley From: huntley@copper.ucs.indiana.edu (Haydn Huntley) Subject: stat & wildcard filename expansion for Think C Message-ID: <1991Apr4.150746.6148@bronze.ucs.indiana.edu> Keywords: stat, wildcard filename expansion Sender: news@bronze.ucs.indiana.edu (USENET News System) Organization: Indiana University, Bloomington IN. Distribution: usa Date: Thu, 4 Apr 91 15:07:46 GMT Lines: 21 Has anyone implemented the 'stat' function (which fills a struct with the status information from a named file) in Think C? Also, has anyone implemented Unix-like wildcard filename expansion in Think C? I'd like to be able to expand filenames like '*.c' or 'a*.h' to match all of the files ending with .c in the curent directory, or all of the files begining with a and ending with .h. Please send me mail if you have any hints or pointers. Thanks in Advance! --Haydn -- ;; ***************************************************** ;; * Haydn Huntley huntley@copper.ucs.indiana.edu * ;; *****************************************************