1 2 3 4 5 6 7 8 9 10 11 12
/* See LICENSE file for copyright and license details. */ #include "common.h" int libskrift_open_font_file(LIBSKRIFT_FONT **fontp, const char *path) { if (!*path) { errno = EINVAL; return -1; } return libskrift_open_font_at(fontp, AT_FDCWD, path); }