source: MondoRescue/branches/stable/mindi-busybox/libbb/xstat.c @ 821

Last change on this file since 821 was 821, checked in by Bruno Cornec, 14 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

File size: 254 bytes
2 * xstat.c - a stat() which dies on failure with meaningful error message
3 */
4#include <unistd.h>
5#include "libbb.h"
7void xstat(const char *name, struct stat *stat_buf)
9    if (stat(name, stat_buf))
10        bb_perror_msg_and_die("Can't stat '%s'", name);
Note: See TracBrowser for help on using the repository browser.