clockioctl.h revision 1.3
11.3Sagc/* $NetBSD: clockioctl.h,v 1.3 2003/08/07 16:26:40 agc Exp $ */ 21.2Scgd 31.1Schopps/* 41.1Schopps * Copyright (c) 1990 The Regents of the University of California. 51.1Schopps * All rights reserved. 61.3Sagc * 71.3Sagc * This code is derived from software contributed to Berkeley by 81.3Sagc * the Systems Programming Group of the University of Utah Computer 91.3Sagc * Science Department. 101.3Sagc * 111.3Sagc * Redistribution and use in source and binary forms, with or without 121.3Sagc * modification, are permitted provided that the following conditions 131.3Sagc * are met: 141.3Sagc * 1. Redistributions of source code must retain the above copyright 151.3Sagc * notice, this list of conditions and the following disclaimer. 161.3Sagc * 2. Redistributions in binary form must reproduce the above copyright 171.3Sagc * notice, this list of conditions and the following disclaimer in the 181.3Sagc * documentation and/or other materials provided with the distribution. 191.3Sagc * 3. Neither the name of the University nor the names of its contributors 201.3Sagc * may be used to endorse or promote products derived from this software 211.3Sagc * without specific prior written permission. 221.3Sagc * 231.3Sagc * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 241.3Sagc * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 251.3Sagc * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 261.3Sagc * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 271.3Sagc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 281.3Sagc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 291.3Sagc * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 301.3Sagc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 311.3Sagc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 321.3Sagc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 331.3Sagc * SUCH DAMAGE. 341.3Sagc * 351.3Sagc * from: Utah $Hdr: clockioctl.h 1.1 90/07/09$ 361.3Sagc * 371.3Sagc * @(#)clockioctl.h 7.2 (Berkeley) 11/2/90 381.3Sagc */ 391.3Sagc/* 401.3Sagc * Copyright (c) 1989 University of Utah. 411.1Schopps * 421.1Schopps * This code is derived from software contributed to Berkeley by 431.1Schopps * the Systems Programming Group of the University of Utah Computer 441.1Schopps * Science Department. 451.1Schopps * 461.1Schopps * Redistribution and use in source and binary forms, with or without 471.1Schopps * modification, are permitted provided that the following conditions 481.1Schopps * are met: 491.1Schopps * 1. Redistributions of source code must retain the above copyright 501.1Schopps * notice, this list of conditions and the following disclaimer. 511.1Schopps * 2. Redistributions in binary form must reproduce the above copyright 521.1Schopps * notice, this list of conditions and the following disclaimer in the 531.1Schopps * documentation and/or other materials provided with the distribution. 541.1Schopps * 3. All advertising materials mentioning features or use of this software 551.1Schopps * must display the following acknowledgement: 561.1Schopps * This product includes software developed by the University of 571.1Schopps * California, Berkeley and its contributors. 581.1Schopps * 4. Neither the name of the University nor the names of its contributors 591.1Schopps * may be used to endorse or promote products derived from this software 601.1Schopps * without specific prior written permission. 611.1Schopps * 621.1Schopps * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 631.1Schopps * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 641.1Schopps * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 651.1Schopps * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 661.1Schopps * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 671.1Schopps * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 681.1Schopps * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 691.1Schopps * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 701.1Schopps * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 711.1Schopps * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 721.1Schopps * SUCH DAMAGE. 731.1Schopps * 741.1Schopps * from: Utah $Hdr: clockioctl.h 1.1 90/07/09$ 751.1Schopps * 761.1Schopps * @(#)clockioctl.h 7.2 (Berkeley) 11/2/90 771.1Schopps */ 781.1Schopps 791.1Schopps#define CLOCKMAP _IOWR('C', 1, int) 801.1Schopps#define CLOCKUNMAP _IOW('C', 2, int) 811.1Schopps#define CLOCKGETRES _IOR('C', 3, int) 82