[En-Nut-Discussion] Does stat sets the correct errno?

Ole Reinhardt ole.reinhardt at embedded-it.de
Wed Feb 20 11:58:50 CET 2008


Hello,

I wonder if stat set's the correct errno. If I try to stat a non
existing file on a MMC card via phatfs the errno is set to "EEXISTS".
"ENOENT" would be correct. Or doesn't it modify errno at all? (I could
not find a place where the errno would be set).

Regards,

Ole Reinhardt

-- 
 _____________________________________________________________
|                                                             |
| Embedded-IT          Hard- und Softwarelösungen             |
|                                                             |
| Ole Reinhardt        Tel. / Fax:        +49 (0)271  7420433 |
| Luisenstraße 29      Mobil:             +49 (0)177  7420433 |
| 57076 Siegen         eMail:    ole.reinhardt at embedded-it.de |
| Germany              Web:         http://www.embedded-it.de |
|                      UstID / VAT:       DE198944716         |
|_____________________________________________________________|




More information about the En-Nut-Discussion mailing list