device_for_each_child man page on Scientific

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

DEVICE_FOR_EACH_CHIL(9)	 Device drivers infrastructure DEVICE_FOR_EACH_CHIL(9)

NAME
       device_for_each_child - device child iterator.

SYNOPSIS
       int device_for_each_child(struct device * parent, void * data,
				 int (*fn) (struct device *dev, void *data));

ARGUMENTS
       parent
	   parent struct device.

       data
	   data for the callback.

       fn
	   function to be called for each device.

DESCRIPTION
       Iterate over parent´s child devices, and call fn for each, passing it
       data.

       We check the return of fn each time. If it returns anything other than
       0, we break out and return that value.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013	       DEVICE_FOR_EACH_CHIL(9)
[top]

List of man pages available for Scientific

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