File: wordsize.c

package info (click to toggle)
libunicode-japanese-perl 0.50-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,376 kB
  • sloc: ansic: 30,821; perl: 5,635; erlang: 224; makefile: 191
file content (12 lines) | stat: -rw-r--r-- 249 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12

#include <stdio.h>

int main()
{
  printf( "short = %ld\n", (long)sizeof(short) );
  printf( "int = %ld\n",   (long)sizeof(int)   );
  printf( "long = %ld\n",  (long)sizeof(long)  );
  printf( "void* = %ld\n", (long)sizeof(void*) );
  return 0;
}