Skip to content

Instantly share code, notes, and snippets.

@su8
Created September 1, 2018 19:30
Show Gist options
  • Save su8/529b0a94b5222dc04772f4cf4dad5b41 to your computer and use it in GitHub Desktop.
Save su8/529b0a94b5222dc04772f4cf4dad5b41 to your computer and use it in GitHub Desktop.
/* */
#ifndef FREEBSD_H_
#define FREEBSD_H_
#include <fcntl.h>
#include <kvm.h>
#include <strings.h>
#include <sys/mount.h>
#include <sys/param.h>
#include <sys/ucred.h>
#include "common.h"
#if (defined(i386) || defined(__i386__))
#include <machine/apm_bios.h>
#endif /* i386 || __i386__ */
int get_entropy_avail(unsigned int *);
int get_entropy_poolsize(unsigned int *);
void print_sysctlbyname(struct text_obj *, char *, unsigned int);
#endif /*FREEBSD_H_*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment