readmmap.c (f27fb06cadc6a8e75ebebd3b60c8a9dc9ae1b833) readmmap.c (47be48457393ba6747cc3144272b1f4d8b9077fb)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 29 unchanged lines hidden (view full) ---

38 *
39 * Return values:
40 * 1 : error
41 * 0 : no errors
42 * --------------------------------------------------------------
43 */
44#include <stdio.h>
45#include <stdlib.h>
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 29 unchanged lines hidden (view full) ---

38 *
39 * Return values:
40 * 1 : error
41 * 0 : no errors
42 * --------------------------------------------------------------
43 */
44#include <stdio.h>
45#include <stdlib.h>
46#include <time.h>
46#include <unistd.h>
47#include <fcntl.h>
48#include <errno.h>
49#include <sys/mman.h>
50
51int
52main(int argc, char **argv)
53{

--- 87 unchanged lines hidden ---
47#include <unistd.h>
48#include <fcntl.h>
49#include <errno.h>
50#include <sys/mman.h>
51
52int
53main(int argc, char **argv)
54{

--- 87 unchanged lines hidden ---