1IEEE1284_FIND_PORTS(3) Functions IEEE1284_FIND_PORTS(3)
2
3
4
6 ieee1284_find_ports - find ports on the system
7
9 #include <ieee1284.h>
10
11 int ieee1284_find_ports(struct parport_list *list, int flags);
12
14 This function should be called before the other libieee1284 functions.
15 This gives the library a chance to look around and see what's
16 available, and gives the program a chance to choose a port to use.
17
18 The list is a pointer to a parport_list structure that will be filled
19 in on success.
20
21 There are no flags defined; use zero for this parameter.
22
24 E1284_OK
25 Success. list is filled in and must be destroyed using
26 ieee1284_free_ports(3).
27
28 E1284_NOMEM
29 There is not enough memory available.
30
31 E1284_NOTIMPL
32 One or more of the supplied flags is not supported in this
33 implementation.
34
36 Tim Waugh <twaugh@redhat.com>
37 Author.
38
40 Copyright © 2001-2003 Tim Waugh
41
42
43
44[FIXME: source] 07/20/2023 IEEE1284_FIND_PORTS(3)