Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stmfgettargetlist(3stmf) [opensolaris man page]

stmfGetTargetList(3STMF)			   SCSI Target Mode Framework Library Functions 			  stmfGetTargetList(3STMF)

NAME
stmfGetTargetList - retrieve the list of target ports SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfGetTargetList(stmfDevidList **targetList); PARAMETERS
targetList A pointer to a pointer to an stmfDevidList structure. On successful return, this will contain a list of target ports in the system. DESCRIPTION
The stmfGetTargetList() function retrieves the list of target ports. The caller should call stmfFreeMemory(3STMF) when this list is no longer needed. RETURN VALUES
The following values are returned: STMF_ERROR_NOMEM The library was unable to allocate sufficient memory for targetList. STMF_STATUS_SUCCESS The API call was successful. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
libstmf(3LIB), stmfFreeMemory(3STMF), attributes(5) SunOS 5.11 9 Jun 2008 stmfGetTargetList(3STMF)

Check Out this Related Man Page

stmfGetHostGroupList(3STMF)			   SCSI Target Mode Framework Library Functions 		       stmfGetHostGroupList(3STMF)

NAME
stmfGetHostGroupList - retrieve the list of host groups SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfGetInitiatorGroupList(stmfGroupList **hostGroupList); PARAMETERS
hostGroupList A pointer to a pointer to an stmfGroupList structure. On successful return, this will contain a list of host groups. DESCRIPTION
The stmfGetInitiatorGroupList() function retrieves the list of host groups. The caller should call stmfFreeMemory(3STMF) when this list is no longer needed. RETURN VALUES
The following values are returned: STMF_ERROR_NOMEM The library was unable to allocate sufficient memory for hostGroupList. STMF_STATUS_SUCCESS The API call was successful. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
stmfFreeMemory(3STMF), libstmf(3LIB), attributes(5) SunOS 5.11 9 Jun 2008 stmfGetHostGroupList(3STMF)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

OpenBSD: ports

Hi there.. I'm new to openbsd, and I recently tried the ports-system.. I downloaded the ports-tree from ftp, and unpacked it in /usr/ports Then I typed 'make search key=centericq' I got some info about it.. but it wasn't the latest version.. the version I use at my gentoo linux box, is... (6 Replies)
Discussion started by: Maestin
6 Replies

2. SCO

How to disable ports on SCO machine

Hi All, I want to disable some ports like tcp 111, udp 111 on my SCO Unix machine. Can someone please let mw know how i can do it? Also would i able to enable these ports in future if needed? Here is the output of uname -a command to see machine type; NODENAME>uname -a UnixWare NODENAME... (1 Reply)
Discussion started by: am_yadav
1 Replies

3. Cybersecurity

Ports 40000-41000

Hi, We have ports 40000-41000 open on our firewall. Are these ports used for anything important? I ask because I would like to close them if they are not needed by any important service. (2 Replies)
Discussion started by: mojoman
2 Replies

4. Shell Programming and Scripting

Script to Monitor List of Ports

Hi, I'm in need of a script that can monitor a list of 12 ports.. If one of the ports isn't in listening mode then email me.. The list of ports are 26401 - 26412.. (6 Replies)
Discussion started by: eclipseagent
6 Replies

5. UNIX for Dummies Questions & Answers

How do i list running process with the ports they are using?

How do i list the running process and also view the ports they are listening to at the same time? (3 Replies)
Discussion started by: mena
3 Replies