format_write(1, "%s: %s\r\n", name, value);
}
format_write(1, "%s: %s\r\n", name, value);
}
{
format_write(1, "%s: %" PRIuMAX "\r\n", name, value);
}
{
format_write(1, "%s: %" PRIuMAX "\r\n", name, value);
}
hdr_str(content_type, the_type);
hdr_date(last_modified, sb.st_mtime);
end_headers();
hdr_str(content_type, the_type);
hdr_date(last_modified, sb.st_mtime);
end_headers();
ssize_t n = xread(fd, buf, buf_alloc);
if (n < 0)
die_errno("Cannot read '%s'", p);
ssize_t n = xread(fd, buf, buf_alloc);
if (n < 0)
die_errno("Cannot read '%s'", p);