tt_message_rejecter(library call) tt_message_rejecter(library call)
NAME
tt_message_rejecter -- return offer's nth rejecting procid
SYNOPSIS
#include <Tt/tt_c.h>
char *tt_message_rejecter(
Tt_message m,
int n);
DESCRIPTION
The tt_message_rejecter function returns the procid of the nth rejecter of the specified message.
The m argument is the opaque handle for the message involved in this operation. The n argument is the number of the rejecter to be
returned. The first rejecter is numbered zero.
RETURN VALUE
Upon successful completion, the tt_message_rejecter function returns the procid of the nth rejecter. The application can use tt_ptr_error
to extract one of the following Tt_status values from the returned pointer:
TT_OK The operation completed successfully.
TT_ERR_PROCID
There is no valid default procid, perhaps because tt_open has not yet been called.
TT_ERR_NUM
The integer value passed was invalid (out of range).
TT_ERR_STATE
The specified message is not in state TT_RETURNED. Since only TT_OFFERs can be in state TT_RETURNED, this status will be
returned if the specified message is a TT_NOTICE or a TT_REQUEST.
TT_ERR_POINTER
The pointer passed does not point to an object of the correct type for this operation.
APPLICATION USAGE
The application can use tt_free to free any data stored in the address returned by the ToolTalk API.
SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_message_rejecters_count(3), tt_ptr_error(3), tt_free(3).
tt_message_rejecter(library call)
Check Out this Related Man Page
tt_message_abstainer(library call) tt_message_abstainer(library call)
NAME
tt_message_abstainer -- return offer's nth abstaining procid
SYNOPSIS
#include <Tt/tt_c.h>
char *tt_message_abstainer(
Tt_message m,
int n);
DESCRIPTION
The tt_message_abstainer function returns the procid of the nth abstainer of the specified message.
The m argument is the opaque handle for the message involved in this operation. The n argument is the number of the abstainer to be
returned. The first abstainer is numbered zero.
RETURN VALUE
Upon successful completion, the tt_message_abstainer function returns the procid of the nth abstainer. The application can use
tt_ptr_error to extract one of the following Tt_status values from the returned pointer:
TT_OK The operation completed successfully.
TT_ERR_PROCID
There is no valid default procid, perhaps because tt_open has not yet been called.
TT_ERR_NUM
The integer value passed was invalid (out of range).
TT_ERR_STATE
The specified message is not in state TT_RETURNED. Since only TT_OFFERs can be in state TT_RETURNED, this status will be
returned if the specified message is a TT_NOTICE or a TT_REQUEST.
TT_ERR_POINTER
The pointer passed does not point to an object of the correct type for this operation.
APPLICATION USAGE
The application can use tt_free to free any data stored in the address returned by the ToolTalk API.
SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_message_abstainers_count(3), tt_ptr_error(3), tt_free(3).
tt_message_abstainer(library call)
Two related questions;
1. how do i select the nth file in a directory?
2. how do i select a range of files, say 2nd-5th?
I have done the following but I don't think the solution is a neat one.
Query 1: select nth file - say 3rd file;
#!/bin/bash
touch foo1 foo2 foo3 foo4 foo5 foo6... (1 Reply)
There is already one thread with the same heading. But here the case is little different.
i have a line which have a field separator '|'
abc|def|ghi|jkl|mno|pqr|stu|vwx|yz
I want to replace every 3rd occurance + next character with the same + newline character.. I mean i want to enter a... (6 Replies)
Hi,
I want to read the file from nth line (where n is an integer) to until I encounter @ char.
Can any one please help me how to do this?
Thanks. (3 Replies)
Bash/Oracle Linux 6.4
A basic requirement.
How can I get nth line of a file printed ? Can I use grep in this case ?
Example:
In the below file, 12th line is "Kernel parameter check passed for rmem_max" . I just want the 12 line to be printed.
# cat sometext.txt
Kernel version check... (2 Replies)
Using Awk, how can I achieve the following?
I have set of record numbers, for which, I have to replace the nth field with some values, say spaces.
Eg:
Set of Records : 4,9,10,55,89,etc
I have to change the 8th field of all the above set of records to spaces (10 spaces).
Its a delimited... (1 Reply)
Hello,
I'm trying to create a word translation section of a book. Each entry in the word list will come from a set of linguistically analyzed texts.
Each sentence in the text has the following format. The first element in each line is the "name" of the line (i.e. "A","B","C","D"). The... (12 Replies)