Sponsored Content
Full Discussion: Error Message
Top Forums UNIX for Dummies Questions & Answers Error Message Post 302097900 by DukeNuke2 on Wednesday 29th of November 2006 10:04:47 AM
Old 11-29-2006
try if [ $choice = "1" ]
______________^
_____________blank!
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

error message

Hi All, occasionally my server gives this error messages "NOTICE:HTFS Out of inodes on HTFS dev hd (1/42)" why ?? Alice. (3 Replies)
Discussion started by: alisev
3 Replies

2. UNIX for Dummies Questions & Answers

Error Message

Hi everyone, Can anyone explain what the following error refers to...and perhaps a solution? vxfs: vx_nospace -/tmp file system full (8 block extent) Thanks, Uni (2 Replies)
Discussion started by: Uni
2 Replies

3. UNIX for Advanced & Expert Users

Error message

I'm getting an error - symbol referencing errors. No output written to, etc Can anybody tell me why this is? (2 Replies)
Discussion started by: Dan Rooney
2 Replies

4. Solaris

Error message

Hi, My Solaris 5.8 system keeps getting this error at boot - "Can't set vol root to /vol" then /usr/sbin/vold: can't set vol root to /vol: Resource temporarily unavailiable Any idea what is wrong, and how do I fix it? (0 Replies)
Discussion started by: ghuber
0 Replies

5. UNIX for Advanced & Expert Users

Error message

Hi, My Solaris 5.8 system keeps getting this error at boot - "Can't set vol root to /vol" then /usr/sbin/vold: can't set vol root to /vol: Resource temporarily unavailiable Any idea what is wrong, and how do I fix it? (1 Reply)
Discussion started by: ghuber
1 Replies

6. UNIX for Dummies Questions & Answers

getting last error message

Question for unix programmers - what function I need to used to get the exact error message when the library failed to load? Thanks (1 Reply)
Discussion started by: tttttt
1 Replies

7. Shell Programming and Scripting

Error message

I am new to scripting. I am using the following script . BART.dat contains the string 'Y' . #!/bin/ksh cd /work/TCI/data_out file=`cat BART.dat` echo "$file" if ; then echo "true" fi When i am executing the above script i am getting the following error ./s.ksh: : not found ... (2 Replies)
Discussion started by: ammu
2 Replies

8. UNIX for Dummies Questions & Answers

Error Message

What does this means? - ERROR OPENING FILE - KEY LENGHT MISMATCH (2 Replies)
Discussion started by: RDM00
2 Replies

9. UNIX for Dummies Questions & Answers

What does this Error Message Mean

Hi I found the following error message in my logs: warning: /etc/hosts.deny, line 6: can't verify hostname: getaddrinfo(localhost) didn't return ::ffff:222.255.28.33 What is the error message trying to indicate? That there is a problem with line 6 (2 Replies)
Discussion started by: mojoman
2 Replies
FORMS(3)						   BSD Library Functions Manual 						  FORMS(3)

NAME
free_fieldtype, link_fieldtype, new_fieldtype, set_fieldtype_arg, set_fieldtype_choice -- form library LIBRARY
Curses Form Library (libform, -lform) SYNOPSIS
#include <form.h> int free_fieldtype(FIELDTYPE *fieldtype); FIELDTYPE * link_fieldtype(FIELDTYPE *type1, FIELDTYPE *type2); FIELDTYPE * new_fieldtype(int (*field_check)(FIELD *, char *), int (*char_check)(int, char *)); int set_fieldtype_arg(FIELDTYPE *fieldtype, char * (*make_args)(va_list *), char * (*copy_args)(char *), void (*free_args)(char *)); int set_fieldtype_choice(FIELDTYPE *fieldtype, int (*next_choice)(FIELD *, char *), int (*prev_choice)(FIELD *, char *)); DESCRIPTION
The function free_fieldtype() frees the storage associated with the field type and destroys it. The function link_fieldtype() links together the two given field types to produce a new field type. A new field type can be created by calling new_fieldtype() which requires pointers to two functions which perform validation, the field_check function must validate the field contents and return TRUE if they are acceptable and FALSE if they are not. The char_check validates the character input into the field, this function will be called for each character entered, if the character can be entered into the field then char_check must return TRUE. Neither field_check nor char_check may be NULL. The func- tions for handling the field type arguments can be defined by using the set_fieldtype_arg() function, the make_args function is used to cre- ate new arguments for the fieldtype, the copy_args is used to copy the fieldtype arguments to a new arguments structure and free_args is used to destroy the fieldtype arguments and release any associated storage, none of these function pointers may be NULL. The field type choice functions can be set by calling set_fieldtype_choice(), the next_choice and prev_choice specify the next and previous choice functions for the field type. These functions must perform the necessary actions to select the next or previous choice for the field, updating the field buffer if necessary. The choice functions must return TRUE if the function succeeded and FALSE otherwise. RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following error values: E_OK The function was successful. E_BAD_ARGUMENT The function was passed a bad argument. E_CONNECTED The field is connected to a form. SEE ALSO
curses(3), forms(3) NOTES
The header <form.h> automatically includes both <curses.h> and <eti.h>. BSD
January 1, 2001 BSD
All times are GMT -4. The time now is 03:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy