IP_NserveLookupName

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_NserveLookupName`

`IP_NserveLookupName` -- allocates and fills in a new task structure.

## Syntax

``IP_Task* IP_NserveLookupName`(char* name);`

## Arguments

`name`

  A task name.

## Returns

A pointer to a task structure on success, or `NULL` on failure and `errno` is set.

## Description

This function is a convenience wrapper on `IP_NserveLookup` that allocates a new IP_Task structure and then attempts to fill it. If the `name` is not registered with nserve, the new task structure is destroyed.

## See Also

The Cascade NameServer, Cascade NameServer Functions, nserve, `IP_NserveLookup`, `IP_NserveLookupID`

Prev | Home | Next
`IP_NserveLookupId` | Up | `IP_NservePackTaskInfo`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.