projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_4_Lite2 release
[unix-history]
/
usr
/
src
/
sys
/
kern
/
subr_xxx.c
diff --git
a/usr/src/sys/kern/subr_xxx.c
b/usr/src/sys/kern/subr_xxx.c
index
c692ec1
..
45b2d64
100644
(file)
--- a/
usr/src/sys/kern/subr_xxx.c
+++ b/
usr/src/sys/kern/subr_xxx.c
@@
-30,7
+30,7
@@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)subr_xxx.c 8.
1 (Berkeley) 6/10/93
+ * @(#)subr_xxx.c 8.
3 (Berkeley) 3/29/95
*/
/*
*/
/*
@@
-45,6
+45,7
@@
/*
* Unsupported device function (e.g. writing to read-only device).
*/
/*
* Unsupported device function (e.g. writing to read-only device).
*/
+int
enodev()
{
enodev()
{
@@
-54,6
+55,7
@@
enodev()
/*
* Unconfigured device function; driver not configured.
*/
/*
* Unconfigured device function; driver not configured.
*/
+int
enxio()
{
enxio()
{
@@
-63,6
+65,7
@@
enxio()
/*
* Unsupported ioctl function.
*/
/*
* Unsupported ioctl function.
*/
+int
enoioctl()
{
enoioctl()
{
@@
-74,6
+77,7
@@
enoioctl()
* This is used for an otherwise-reasonable operation
* that is not supported by the current system binary.
*/
* This is used for an otherwise-reasonable operation
* that is not supported by the current system binary.
*/
+int
enosys()
{
enosys()
{
@@
-84,15
+88,28
@@
enosys()
* Return error for operation not supported
* on a specific object or file type.
*/
* Return error for operation not supported
* on a specific object or file type.
*/
+int
eopnotsupp()
{
return (EOPNOTSUPP);
}
eopnotsupp()
{
return (EOPNOTSUPP);
}
+/*
+ * Return error for an inval operation
+ * on a specific object or file type.
+ */
+int
+einval()
+{
+
+ return (EINVAL);
+}
+
/*
* Generic null operation, always returns success.
*/
/*
* Generic null operation, always returns success.
*/
+int
nullop()
{
nullop()
{