11-03-2014
It's the first result listed....
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all, I'm glad there's a section called UNIX for dummies on this forum cause when it comes to UNIX, I am certainly a dummie. I honestly don't have a clue about 98% of the UNIX commands out there so forgive me if this is a really stupid question.
I'm trying to set up a MySQL server on my Mac... (7 Replies)
Discussion started by: kguenther
7 Replies
2. Programming
Can someone enligten me on what below program does?
I understand getchar and putchar.. but what is this program suppose to do?
I try to put printf on it, but it shows nothing..
can someone explain to me what this program is suppose to do?
It is reading something and assigning to c?
so, if... (8 Replies)
Discussion started by: convenientstore
8 Replies
3. Programming
is there any difference between "char*" and "char *" (1 Reply)
Discussion started by: amol munde
1 Replies
4. Shell Programming and Scripting
Here's my script:
/bin/script.sh
echo "hey __, don't forget the password is "kazlo""
echo "insert the name of your file in the... (1 Reply)
Discussion started by: cleansing_flame
1 Replies
5. Programming
Hello, Ive got to amke a script to calculate how many emails are in the servers mailbox, how many times each IP address appears in the mailbox and to search for keywords, tehn produce the results in HTML report. The thing is I dont know where to start and what the best language to use would be.
... (4 Replies)
Discussion started by: clueless
4 Replies
6. Shell Programming and Scripting
Hi all,
I need to 'create' a new simple scripting language in order to allow SCADA operators make complex tasks against the system in an easy and friendly way.
In other words I need to write mini modules with DB readings or writings, calculations, and so on, but these instructions must be written... (2 Replies)
Discussion started by: silex
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Just got handed this script
set def = HLA_DR.pockets
set data = DRB1_1501.dat
foreach a ( 'cat $data | args 3 |sort -u' )
cat $def | xC | grep -v $a > $$.def
cat $data | grep $a | args 1,2 > $a.dat
set pseudo = `cat MHCDR_pseudo.dat | grep HLA | grep $a | args 2`... (8 Replies)
Discussion started by: lost
8 Replies
8. Programming
Hi guys,
Assembly language is a low level language designed in 1950's, both system and application programs were written in assembly at that time. There is no question of assembly being very effecient compared to the other high level languages. But it is very cumbersome to write programs in... (9 Replies)
Discussion started by: gabam
9 Replies
LEARN ABOUT DEBIAN
genders_isattr
GENDERS_ISNODE(3) LIBGENDERS GENDERS_ISNODE(3)
NAME
genders_isnode, genders_isattr, genders_isattrval - node, attribute, value check routines
SYNOPSIS
#include <genders.h>
int genders_isnode(genders_t handle, const char *node);
int genders_isattr(genders_t handle, const char *attr);
int genders_isattrval(genders_t handle, const char *attr, const char *val);
DESCRIPTION
genders_isnode() tests if the node pointed to by node is listed in the genders file. If node is NULL, the current node is tested.
genders_isattr() tests if the attribute pointed to by attr is listed for some node in the genders file.
genders_isattrval() tests if the attribute pointed to by attr is equal to the value pointed to by val for some node in the genders file.
RETURN VALUES
For genders_isnode(), if node is listed in the genders file, 1 is returned. If it is not listed, 0 is returned.
For genders_isattr(), if attr is listed in the genders file, 1 is returned. If it is not listed, 0 is returned.
For genders_isattrval(), if attr=val is listed in the genders file, 1 is returned. If it is not listed, 0 is returned.
On error, all three return -1 and an error code is returned in handle. The error code can be retrieved via genders_errnum(3) , and a
description of the error code can be retrieved via genders_strerror(3). Error codes are defined in genders.h.
ERRORS
GENDERS_ERR_NULLHANDLE
The handle parameter is NULL. The genders handle must be created with genders_handle_create(3).
GENDERS_ERR_NOTLOADED
genders_load_data(3) has not been called to load genders data.
GENDERS_ERR_PARAMETERS
An incorrect parameter has been passed in.
GENDERS_ERR_MAGIC
handle has an incorrect magic number. handle does not point to a genders handle or handle has been destroyed by genders_han-
dle_destroy(3).
FILES
/usr/include/genders.h
SEE ALSO
libgenders(3), genders_handle_create(3), genders_load_data(3), genders_errnum(3), genders_strerror(3)
LLNL
August 2003 GENDERS_ISNODE(3)