All pastes #164713 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-09-08 21:54 UTC
rendered paste body
[gregor@gdeskgor install]$ gdc hello.d -I.. ../pthread.o
[gregor@gdeskgor install]$ ./a.out

// from <dirent.h>
const size_t dirent_d_name_offset = 11;
const size_t dirent_d_name_size = 256;
const size_t dirent_remaining_size = 1;
const size_t DIR_struct_size = 0;

// from <stdlib.h>
const int RAND_MAX = 2147483647;

// from <stdio.h>
const size_t FILE_struct_size = 148;
const int EOF = -1;
const int FOPEN_MAX = 16;
const int FILENAME_MAX = 4096;
const int TMP_MAX = 238328;
const int L_tmpnam = 20;
const int PATH_MAX = 4096;

// from <sys/types.h>
alias int Coff_t;
alias uint Csize_t;
alias int Ctime_t;

// from <time.h>
const uint CLOCKS_PER_SEC = 1000000;