10 More Discussions You Might Find Interesting
1. Programming
Situation:
I have an array of structures:
struct my_struct_type {
char tags_sn;
char group_c;
char is_err_c;
};
struct my_struct_type stuff = {
"abcd", 'A', 'E',
"efgh", 'B', 'E',
"ijkl", 'C', 'E'
NULL, '\0', '\0'
... (14 Replies)
Discussion started by: garysk
14 Replies
2. Programming
Hello,
I have a signal handler which manipulates a data structure. The data structure's operations aren't atomic. So if two threads/processes are in a critical section at the same time the data structure will be broken.
With threads you can avoid this stuff with semaphores etc.
However,... (10 Replies)
Discussion started by: littlegnome
10 Replies
3. BSD
Hi All,
There are few OpenBSD 4.8 servers without compiler installed at my working place. However, sometimes there are some patches released for patching the kernel.
My question is: Can I setup a non production OpenBSD 4.8 server as a test machine with compiler installed and use it to... (1 Reply)
Discussion started by: lcxpics
1 Replies
4. Shell Programming and Scripting
Here is what i need to do.
@data #has all column wise data so say info for col 1 location for all rows would be in this array
$array = \@data
But i need to create a file which should contain these information in a format for all columns even if i have got no values from some of the index... (0 Replies)
Discussion started by: dinjo_jo
0 Replies
5. UNIX for Dummies Questions & Answers
Hello everyone,
I have been struggling to clean up a back-up mess I created when manually duplicating a directory structure and then working in both of them..
The structures now are significantly different and contain in the order of 15 k files of which most are duplicates.
Now I am trying to... (0 Replies)
Discussion started by: procreator
0 Replies
6. Programming
I have a pointer to a structure containing an integer pointer:
struct members {
int id;
int *neigh;
};
The number of members N and its neighbors M change as the code runs, so I allocate the memory dynamically:
members *grid = malloc(sizeof(members)*N);
for(i=0;i<N;i++)... (2 Replies)
Discussion started by: brinch
2 Replies
7. Linux
hello
can any1 plz tell me about the system defined structures (like sysinfo) which wil give system and n/w charecteristics (ex: freeram in sysinfo). (1 Reply)
Discussion started by: jeenat
1 Replies
8. Programming
Hi All,
I was given a format of a file, and was asked to write a program which displays the data contained in the file in that purticular format.
Its all so confusing.
Please find the example of the format as well the code I have written in the attachment.
I hope any one of u guyz can... (0 Replies)
Discussion started by: jazz
0 Replies
9. Shell Programming and Scripting
Hi
I what, a script snippet for "comparing two directory tree structures only " not the contents of directories(like files..etc).
Thanking you a lot.
Regards
Rajesh (7 Replies)
Discussion started by: raj_thota
7 Replies
10. Programming
Dear friends
I have a bit basic doubts in pointers and the structures inter relationships.
the first one.
static struct apvt {
int dead;
int pending;
int abouttograb;
}*agents=NULL;
what agents pointer is... (1 Reply)
Discussion started by: tech_voip
1 Replies