Project

General

Profile

Actions

Bug #12720

closed

_fini(9E) could note it's not called when _init fails

Added by Robert Mustacchi over 3 years ago. Updated over 3 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

A question came up of whether or not _fini(9E) will be called when _init(9E) fails in a driver. This is quite important to understanding how to write the driver. While the manual page hints at this, we should make that much more explicit.

Actions #1

Updated by Electric Monk over 3 years ago

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

git commit 91a7ed35601b9dac7c03b16025b401dc9f7a6bbd

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

    12720 _fini(9E) could note it's not called when _init fails
    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: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF