DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SCO OpenServer

ldistributed(D3oddi)


ldistributed -- register a line discipline as multithreaded

Syntax

#include <sys/tty.h>
#include <sys/conf.h>

int ldistributed(int line, int flags);

Description

ldistributed( ) registers a line discipline as multithreaded.

Arguments


line
Line discipline number.

flags
Indicates which line discipline routines are multithreaded. Valid values are:


DIST_LINESW_OPEN
xxopen( ) is multithreaded

DIST_LINESW_CLOSE
xxclose( ) is multithreaded

DIST_LINESW_READ
xxread( ) is multithreaded

DIST_LINESW_WRITE
xxwrite( ) is multithreaded

DIST_LINESW_IOCTL
ioctl( ) is multithreaded

DIST_LINESW_INPUT
xxinput( ) is registered

DIST_LINESW_OUTPUT
xxoutput( ) is registered

DIST_LINESW_MDMINT
xxmdmint( ) is registered

Return values

ldistributed( ) always returns 1.

Usage

Context and synchronization

Initialization context

Hardware applicability

All

Version applicability

oddi: 2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp

SVR5 DDI compatibility

This function is not supported in DDI.

References

cdistributed(D3oddi), idistributed(D3oddi), iopolldistributed(D3oddi), run_ld(D3oddi)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005