static static fork const void static count static fd const char const char static newpath const char static path const char path
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
unsigned short prefix[65536]
RZ_API const char * rz_file_basename(const char *path)
RZ_API char * rz_file_tmpdir(void)
RZ_API const char * rz_file_dos_basename(RZ_BORROW RZ_NONNULL const char *path)
RZ_API char * rz_file_temp(const char *prefix)
RZ_API char * rz_file_slurp_random_line_count(const char *file, int *linecount)
RZ_API ut8 * rz_file_slurp_hexpairs(const char *str, int *usz)
RZ_API char * rz_file_binsh(void)
RZ_API bool rz_file_is_c(const char *file)
RZ_API ut8 * rz_deflate(RZ_NONNULL const ut8 *src, int srcLen, int *srcConsumed, int *dstLen)
deflate uncompressed data to zlib or gzipped, use MAX_WBITS as the window size logarithm.
RZ_API bool rz_file_is_directory(const char *str)
RZ_API char * rz_file_readlink(const char *path)
RZ_API bool rz_file_exists(const char *str)
RZ_API RZ_OWN char * rz_file_slurp_lines_from_bottom(const char *file, int line)
RZ_API char * rz_file_relpath(const char *base, const char *path)
RZ_API RzMmap * rz_file_mmap(const char *file, int perm, int mode, ut64 base)
RZ_API bool rz_file_touch(const char *file)
RZ_API bool rz_file_is_deflated(RZ_NONNULL const char *src)
check whether a file is a deflated (gzip) file
RZ_API bool rz_file_is_abspath(const char *file)
RZ_API ut8 * rz_inflate_ignore_header(RZ_NONNULL const ut8 *src, int srcLen, int *srcConsumed, int *dstLen)
inflate zlib compressed or gzipped. The input must be a raw stream with no header or trailer.
RZ_API bool rz_file_inflate(RZ_NONNULL const char *src, RZ_NONNULL const char *dst)
unzip the contents of src and store in dst
RZ_API bool rz_file_is_regular(const char *str)
RZ_API char * rz_file_path_local_to_unix(const char *path)
RZ_API bool rz_file_fexists(const char *fmt,...) RZ_PRINTF_CHECK(1
RZ_API char * rz_stdin_slurp(int *sz)
RZ_API ut8 * rz_file_gzslurp(const char *str, int *outlen, int origonfail)
RZ_API bool rz_file_deflate(RZ_NONNULL const char *src, RZ_NONNULL const char *dst)
zip the contents of src and store in dst
RZ_API char * rz_file_abspath(const char *file)
RZ_API bool rz_file_copy(const char *src, const char *dst)
RZ_API int rz_file_mkstemp(RZ_NULLABLE const char *prefix, char **oname)
RZ_API char * rz_file_dirname(const char *path)
RZ_API RZ_OWN char * rz_file_slurp(const char *str, RZ_NULLABLE size_t *usz)
RZ_API char * rz_file_root(const char *root, const char *path)
RZ_API bool rz_file_dump(const char *file, const ut8 *buf, int len, bool append)
RZ_API bool rz_file_rm(const char *file)
RZ_API char * rz_file_path(const char *bin)
RZ_API RZ_OWN char * rz_file_path_join(RZ_NONNULL const char *s1, RZ_NULLABLE const char *s2)
Concatenate two paths to create a new one with s1+s2 with the correct path separator.
RZ_API ut64 rz_file_size(const char *str)
RZ_API char * rz_file_slurp_range(const char *str, ut64 off, int sz, int *osz)
RZ_API bool rz_file_hexdump(const char *file, const ut8 *buf, int len, int append)
RZ_API char * rz_file_abspath_rel(const char *cwd, const char *file)
RZ_API char * rz_file_path_unix_to_local(const char *path)
RZ_API bool rz_file_chmod(const char *file, const char *mod, int recursive)
RZ_API void * rz_file_mmap_resize(RzMmap *m, ut64 newsize)
RZ_API ut8 * rz_inflatew(RZ_NONNULL const ut8 *src, int srcLen, int *srcConsumed, int *dstLen, int wbits)
RZ_API char * rz_file_slurp_random_line(const char *file)
RZ_API void rz_file_mmap_free(RzMmap *m)
RZ_API ut8 * rz_inflate(RZ_NONNULL const ut8 *src, int srcLen, int *srcConsumed, int *dstLen)
inflate zlib compressed or gzipped, automatically accepts either the zlib or gzip format,...
RZ_API bool rz_file_truncate(const char *filename, ut64 newsize)
RZ_API bool RZ_API char * rz_file_slurp_line(const char *file, int line, int context)
RZ_API RzList * rz_file_globsearch(const char *globbed_path, int maxdepth)
RZ_API ut8 * rz_deflatew(RZ_NONNULL const ut8 *src, int srcLen, int *srcConsumed, int *dstLen, int wbits)
RZ_API char * rz_file_slurp_lines(const char *file, int line, int count)
#define RZ_PRINTF_CHECK(fmt, dots)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()