stand.h (30883627ed12591e7d9d9d99f2e0e7d3bddc84fb) | stand.h (3a8a081b9df91dace0f22b9c5a1e239aca8904ca) |
---|---|
1/* 2 * Copyright (c) 1998 Michael Smith. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 281 unchanged lines hidden (view full) --- 290extern ssize_t read(int, void *, size_t); 291extern ssize_t write(int, void *, size_t); 292extern struct dirent *readdirfd(int); 293 294extern void srandom(unsigned int); 295extern long random(void); 296 297/* imports from stdlib, locally modified */ | 1/* 2 * Copyright (c) 1998 Michael Smith. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 281 unchanged lines hidden (view full) --- 290extern ssize_t read(int, void *, size_t); 291extern ssize_t write(int, void *, size_t); 292extern struct dirent *readdirfd(int); 293 294extern void srandom(unsigned int); 295extern long random(void); 296 297/* imports from stdlib, locally modified */ |
298extern long strtol(const char *, char **, int); 299extern unsigned long strtoul(const char *, char **, int); | |
300extern char *optarg; /* getopt(3) external variables */ 301extern int optind, opterr, optopt, optreset; 302extern int getopt(int, char * const [], const char *); 303 304/* pager.c */ 305extern void pager_open(void); 306extern void pager_close(void); 307extern int pager_output(const char *lines); --- 36 unchanged lines hidden (view full) --- 344extern int unsetenv(const char *name); 345 346extern ev_sethook_t env_noset; /* refuse set operation */ 347extern ev_unsethook_t env_nounset; /* refuse unset operation */ 348 349/* stdlib.h routines */ 350extern int abs(int a); 351extern void abort(void) __dead2; | 298extern char *optarg; /* getopt(3) external variables */ 299extern int optind, opterr, optopt, optreset; 300extern int getopt(int, char * const [], const char *); 301 302/* pager.c */ 303extern void pager_open(void); 304extern void pager_close(void); 305extern int pager_output(const char *lines); --- 36 unchanged lines hidden (view full) --- 342extern int unsetenv(const char *name); 343 344extern ev_sethook_t env_noset; /* refuse set operation */ 345extern ev_unsethook_t env_nounset; /* refuse unset operation */ 346 347/* stdlib.h routines */ 348extern int abs(int a); 349extern void abort(void) __dead2; |
350extern long strtol(const char * __restrict, char ** __restrict, int); 351extern long long strtoll(const char * __restrict, char ** __restrict, int); 352extern unsigned long strtoul(const char * __restrict, char ** __restrict, int); 353extern unsigned long long strtoull(const char * __restrict, char ** __restrict, int); |
|
352 353/* BCD conversions (undocumented) */ 354extern u_char const bcd2bin_data[]; 355extern u_char const bin2bcd_data[]; 356extern char const hex2ascii_data[]; 357 358#define bcd2bin(bcd) (bcd2bin_data[bcd]) 359#define bin2bcd(bin) (bin2bcd_data[bin]) --- 83 unchanged lines hidden --- | 354 355/* BCD conversions (undocumented) */ 356extern u_char const bcd2bin_data[]; 357extern u_char const bin2bcd_data[]; 358extern char const hex2ascii_data[]; 359 360#define bcd2bin(bcd) (bcd2bin_data[bcd]) 361#define bin2bcd(bin) (bin2bcd_data[bin]) --- 83 unchanged lines hidden --- |