'\" t .\" Title: unregister_framebuffer .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Frame Buffer Library .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "UNREGISTER_FRAMEBUFF" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Frame Buffer Library" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" unregister_framebuffer \- releases a frame buffer device .SH "SYNOPSIS" .HP \w'int\ unregister_framebuffer('u .BI "int unregister_framebuffer(struct\ fb_info\ *\ " "fb_info" ");" .SH "ARGUMENTS" .PP \fIfb_info\fR .RS 4 frame buffer info structure .RE .SH "DESCRIPTION" .PP Unregisters a frame buffer device \fIfb_info\fR\&. .PP Returns negative errno on error, or zero for success\&. .PP This function will also notify the framebuffer console to release the driver\&. .PP This is meant to be called within a driver\*(Aqs \fBmodule_exit\fR function\&. If this is called outside \fBmodule_exit\fR, ensure that the driver implements \fBfb_open\fR and \fBfb_release\fR to check that no processes are using the device\&. .SH "COPYRIGHT" .br