split: port ‘split -n N /dev/null’ better to macOS
[coreutils.git] / src / sum.h
blobbd251a0348ce87690b77a0be552ea5ab13cff2d9
1 extern int
2 bsd_sum_stream (FILE *stream, void *resstream, uintmax_t *length);
4 extern int
5 sysv_sum_stream (FILE *stream, void *resstream, uintmax_t *length);
7 typedef int (*sumfn)(FILE *, void *, uintmax_t *);
10 extern void
11 output_bsd (char const *file, int binary_file, void const *digest,
12 bool raw, bool tagged, unsigned char delim, bool args,
13 uintmax_t length);
15 extern void
16 output_sysv (char const *file, int binary_file, void const *digest,
17 bool raw, bool tagged, unsigned char delim, bool args,
18 uintmax_t length);