8 lines
112 B
C
8 lines
112 B
C
|
#define _GNU_SOURCE
|
||
|
#include <stdio.h>
|
||
|
|
||
|
int putw(int x, FILE *f)
|
||
|
{
|
||
|
return (int)fwrite(&x, sizeof x, 1, f)-1;
|
||
|
}
|