=========================================================================== Outputs a long in LSB order to the given file */
(file, x)
| 923 | Outputs a long in LSB order to the given file |
| 924 | */ |
| 925 | local void putLong (file, x) |
| 926 | FILE *file; |
| 927 | uLong x; |
| 928 | { |
| 929 | int n; |
| 930 | for (n = 0; n < 4; n++) { |
| 931 | fputc((int)(x & 0xff), file); |
| 932 | x >>= 8; |
| 933 | } |
| 934 | } |
| 935 | |
| 936 | /* =========================================================================== |
| 937 | Reads a long in LSB order from the given gz_stream. Sets z_err in case |