10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This bit of code works fine:
egrep -i '^rmcat' /etc/oratab |\
awk -F\: '{print $1}'|\
while read ORACLE_SID
do
But when I modified it, thus:
egrep -v '^#' /etc/oratab |egrep -v '^$' | egrep -v '^listener' \
awk -F\: '{print $1}'|\
while read ORACLE_SID
do (3 Replies)
Discussion started by: edstevens
3 Replies
2. Shell Programming and Scripting
Hi all.
Long time!!
Hope you're doing well..
I've stumbled on a peculiar siutaion here, and would expect help from this forum on a clean resolution.
We are running an rm and find command simultaneously from two different Unix sessions of the same user(let's say USER01) and on the same... (3 Replies)
Discussion started by: kumarjt
3 Replies
3. Programming
Hello,
This is related to the closed post in the forum for the installation of the same software called arachne, but with different error message:
In file included from ueberal/MiniSuperizer.cc:5:0:
./random/GnuRandom.h:54:5: error: ‘_G_uint32_t’ does not name a type
_G_uint32_t u;
^... (11 Replies)
Discussion started by: yifangt
11 Replies
4. UNIX for Dummies Questions & Answers
Hi guys,
I have a question. In the passwd file, user johndoe has a GID of 100 which is the group named users in the group file. But if you check the group file, johndoe is not listed under GID 100, but under GID 33, which is the group named videos. Under what group does johndoe really belong,... (1 Reply)
Discussion started by: goldenlight1814
1 Replies
5. Programming
I am getting confused compiling a program that gives me the following error
../../../tomso/algeb/vector.hpp:19:9: error: ‘Vector' does not name a type
typedef Vector<float> Vecflt; (1 Reply)
Discussion started by: kristinu
1 Replies
6. Programming
Hi!
This is part of my my code :
typedef struct{
int x;
char na;
char sur;
} Stu;
typedef struct{
Stu *arr;
int size;
int sort;
} Stus;
I want to ask how can i free() the matrix arr.
I tried free(arr), free(Stus.arr) and i get errors with gcc.
My problem, in... (3 Replies)
Discussion started by: giampoul
3 Replies
7. Programming
I've google a bit about this and couldn't find an answer. Actually I read that it can't be done.
Basically I've defined the following structure and typedef it as follows.
stuct Name {
};
typdef struct Name Name.
and right after it, defined some API that use it.
void blabla(Name*... (6 Replies)
Discussion started by: emitrax
6 Replies
8. Solaris
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies
9. Programming
I want to declare
char ch as ch_9 with the help of the typedef statement.
Thanks (1 Reply)
Discussion started by: krishna_sicsr
1 Replies
10. HP-UX
my pragram runs with 3 threads, 2 work threads, one main thread. the 2 work threads run with the same mode and the same code. but now, one of the work thread can't work, and it uses the cpu more than 80%, sometimes uses 100% cpu resource. the another work thread work well.
when I viewed the HP... (2 Replies)
Discussion started by: happylife365
2 Replies
model(4) Kernel Interfaces Manual model(4)
NAME
model - HP-UX machine identification
SYNOPSIS
DESCRIPTION
There are certain inevitable distinctions between HP-UX implementations due to hardware differences. Where such distinctions exist, condi-
tional compilation or other definitions can be used to isolate the differences. Flags and typedefs to resolve these distinctions are col-
lected in the header file which contains constants identifying various HP-UX implementations.
For example, header file contains the following constants whose values are defined in
Other such constants are added as appropriate when HP-UX extends to other machines in subsequent releases.
In addition, has a statement defining the preprocessor constant to represent the specific implementation for which compilation is desired.
is always equal to one of the constants above.
Conditional compilation can be used to adapt a single file for execution on more than one HP-UX implementation if the file contains imple-
mentation- or architecture-dependent features. For example, the code segment:
<statements>
causes statements following the if statement to be compiled if the system processor is an HP 9000 Series 400 machine.
also contains typedefs for several predefined types to enhance portability of certain types of code and files.
These typedef declarations have been replaced by the header file
Signed and unsigned 8-bit integral type.
Signed and unsigned 16-bit integral type.
Signed and unsigned 32-bit integral type.
Signed and unsigned integral type large enough to hold a pointer.
To port code to use instead of these are the corresponding definitions contained in
Signed and unsigned 8-bit integral types.
Signed and unsigned 16-bit integral types.
Signed and unsigned 32-bit integral types.
Signed and unsigned integral large enough to hold a pointer.
Certain C preprocessor conditional compilation variables are defined to aid in implementation-dependent code. See cpp(1).
SEE ALSO
cc(1), cpp(1), inttypes(5), magic(4).
TO BE OBSOLETED model(4)