Project

General

Profile

Actions

Bug #12719

closed

ioctl(9E) should mention what to return for an unknown command

Added by Robert Mustacchi about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
manpage - manual pages
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Currently ioctl(9E) doesn't really talk about what drivers should do if they don't recognize a command. The time honored tradition here (for both better and worse) is to use ENOTTY. We should mention that for clarify.

Actions #1

Updated by Joshua M. Clulow about 2 years ago

Testing Notes (from Robert)

I verified the manual in man(1).

Actions #2

Updated by Electric Monk about 2 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit 57f6b2a25cc23b5c46f9c6de51402167ec6754cc

commit  57f6b2a25cc23b5c46f9c6de51402167ec6754cc
Author: Robert Mustacchi <rm@fingolfin.org>
Date:   2020-05-13T10:17:59.000Z

    12719 ioctl(9E) should mention what to return for an unknown command
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Reviewed by: Yuri Pankov <ypankov@fastmail.com>
    Reviewed by: Patrick Mooney <pmooney@pfmooney.com>
    Reviewed by: Juraj Lutter <juraj@lutter.sk>
    Approved by: Joshua M. Clulow <josh@sysmgr.org>

Actions

Also available in: Atom PDF