Dmitry Kabak (userdimaCopied some classes from openjdk7b1be22013 years agoHistory
79 lines · 3.3 KB · Java
RawDownload
/* * Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.  Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. * */// AUTOMATICALLY GENERATED FILE - DO NOT EDIT                                  package sun.nio.fs;                                                            class UnixConstants {                                                              private UnixConstants() { }                                                    static final int O_RDONLY = 0;    static final int O_WRONLY = 1;    static final int O_RDWR = 2;    static final int O_APPEND = 0x8;    static final int O_CREAT = 0x200;    static final int O_EXCL = 0x800;    static final int O_TRUNC = 0x400;    static final int O_SYNC = 0x80;    static final int O_DSYNC = 0x400000;    static final int O_NOFOLLOW = 0x100;    static final int S_IAMB = 0x1ff;    static final int S_IRUSR = 256;    static final int S_IWUSR = 128;    static final int S_IXUSR = 64;    static final int S_IRGRP = 32;    static final int S_IWGRP = 16;    static final int S_IXGRP = 8;    static final int S_IROTH = 4;    static final int S_IWOTH = 2;    static final int S_IXOTH = 1;    static final int S_IFMT = 0xf000;    static final int S_IFREG = 0x8000;    static final int S_IFDIR = 0x4000;    static final int S_IFLNK = 0xa000;    static final int S_IFCHR = 0x2000;    static final int S_IFBLK = 0x6000;    static final int S_IFIFO = 0x1000;    static final int R_OK = 4;    static final int W_OK = 2;    static final int X_OK = 1;    static final int F_OK = 0;    static final int ENOENT = 2;    static final int EACCES = 13;    static final int EEXIST = 17;    static final int ENOTDIR = 20;    static final int EINVAL = 22;    static final int EXDEV = 18;    static final int EISDIR = 21;    static final int ENOTEMPTY = 66;    static final int ENOSPC = 28;    static final int EAGAIN = 35;    static final int ENOSYS = 78;    static final int ELOOP = 62;    static final int EROFS = 30;    static final int ENODATA = 96;    static final int ERANGE = 34;    static final int AT_SYMLINK_NOFOLLOW = 0x0;    static final int AT_REMOVEDIR = 0x0;}