Home | History | Annotate | Download | only in updater

Lines Matching defs:st

692     struct stat st;
693 if (stat(filename, &st) < 0) {
701 if (st.st_size > MAX_FILE_GETPROP_SIZE) {
707 buffer = malloc(st.st_size+1);
709 ErrorAbort(state, "%s: failed to alloc %d bytes", name, st.st_size+1);
720 if (fread(buffer, 1, st.st_size, f) != st.st_size) {
722 name, st.st_size+1, filename);
726 buffer[st.st_size] = '\0';