loadfirmware man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

LOADFIRMWARE(9)		     OpenBSD Kernel Manual	       LOADFIRMWARE(9)

NAME
     loadfirmware - load a firmware file from the filesystem

SYNOPSIS
     #include <sys/device.h>

     int
     loadfirmware(const char *filename, u_char **buf, size_t *buflen);

DESCRIPTION
     The loadfirmware() function loads a firmware from the file specified by
     filename in the directory /etc/firmware.  Memory for the firmware is
     allocated using malloc(9) with type M_DEVBUF as need be, within a
     reasonable size limit.

     If no longer needed, the firmware buffer buf can be freed using free(9)
     with type M_DEVBUF.

RETURN VALUES
     If successful, buf is set to point to the allocation and buflen is set to
     the size of the firmware.	Then loadfirmware() returns 0.	Otherwise, it
     returns an errno style error.

OpenBSD 4.9			 May 31, 2007			   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net