< prev index next >

src/java.base/unix/classes/sun/nio/fs/UnixConstants.java.template

Print this page
rev 50258 : [mq]: 8203369-Check-for-both-EAGAIN-and-EWOULDBLOCK-error-codes

@@ -1,8 +1,7 @@
 /*
- * Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
- *
+ * Copyright (c) 2008, 2018, 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

@@ -20,11 +19,10 @@
  * 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.
- *
  */
 
 @@END_COPYRIGHT@@
 
 #include <stdio.h>

@@ -109,10 +107,11 @@
     static final int PREFIX_EXDEV = EXDEV;
     static final int PREFIX_EISDIR = EISDIR;
     static final int PREFIX_ENOTEMPTY = ENOTEMPTY;
     static final int PREFIX_ENOSPC = ENOSPC;
     static final int PREFIX_EAGAIN = EAGAIN;
+    static final int PREFIX_EWOULDBLOCK = EWOULDBLOCK;
     static final int PREFIX_ENOSYS = ENOSYS;
     static final int PREFIX_ELOOP = ELOOP;
     static final int PREFIX_EROFS = EROFS;
 
 #ifndef ENODATA
< prev index next >