Sponsored Content
Full Discussion: System Headers Path?
Top Forums UNIX for Dummies Questions & Answers System Headers Path? Post 2089 by scottr on Wednesday 18th of April 2001 01:06:43 PM
Old 04-18-2001
Question

Is there an environment variable or other mechanism whereby I can get the system headers path? Preferrably I would like to be able to gather this information independant of the flavor of Unix. Thanks, Scott.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

System environment Path in Linux

HI there people!! I'm really new with this great OS. I just installed a RedHat Linux 7.1 on my unit. Got it to work on dual boot with my Windows 2000. And I have some problem... how do i change/modify the system environment path? Thanks... and sorry for the ignorance ;) (5 Replies)
Discussion started by: spine_me
5 Replies

2. UNIX for Advanced & Expert Users

A system path?

ok I'm new here but I'm no dummy when it comes to unix i was wondering if there was a system path variable or any way to get one. EX. >ls / would return: home root tmp var media Debian-linux Debian-bsd redhat with the Debian-linux and Debian-bsd and redhat contaning the... (1 Reply)
Discussion started by: Genral
1 Replies

3. Shell Programming and Scripting

Remove text between headers while leaving headers intact

Hi, I'm trying to strip all lines between two headers in a file: ### BEGIN ### Text to remove, contains all kinds of characters ... Antispyware-Downloadserver.com (Germany)=http://www.antispyware-downloadserver.c om/updates/ Antispyware-Downloadserver.com #2... (3 Replies)
Discussion started by: Trones
3 Replies

4. Shell Programming and Scripting

Merging of files with different headers to make combined headers file

Hi , I have a typical situation. I have 4 files and with different headers (number of headers is varible ). I need to make such a merged file which will have headers combined from all files (comman coluns should appear once only). For example - File 1 H1|H2|H3|H4 11|12|13|14 21|22|23|23... (1 Reply)
Discussion started by: marut_ashu
1 Replies

5. Shell Programming and Scripting

Problem with embedded FTP command in Ksh - System Cannot find the specified path.

I have the following FTP embedded in a Ksh script on AIX 5.3 ftp -n <<WHATEVER open 10.101.26.218 user hcistats ******* ascii put $thupdatefile put $thcollectfile quit WHATEVER Here is what my script returns: ... (3 Replies)
Discussion started by: troym72
3 Replies

6. Web Development

store images into databases or path to file system files ?

hi, I need a quick information about storing images into mysql databases. Is more convenient to store a path to the filesystem folder in which the images are stored, or is possible to directly store the images into my tables ? thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies

7. Programming

Linux System C headers puzzling

I am new to Linux system programming, and I found the sophisiticated definition of some library function differ a lot with what I learnt in classes. Here is the question: what does the suffix of function `chmod' in sys/stat.h mean. The funtion claimation is like following: extern int... (5 Replies)
Discussion started by: JackCrital2005
5 Replies

8. Solaris

Moving a zone path to a new file system

Hello Gurus, I need your help with this please. I am trying to move a zone to a new directory but it keeps failing. Below is what I did and the message I get. Your help will be appreciated. Thanks zoneadm -z testzone move /rpool/testzone cannot create ZFS dataset rpool/testzone: dataset... (1 Reply)
Discussion started by: cjashu
1 Replies

9. UNIX for Advanced & Expert Users

Command to see the logical volume path, device mapper path and its corresponding dm device path

Currently I am using this laborious command lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}' Would like to know if there is any shorter method to get this mapping of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
catopen(3C)															       catopen(3C)

NAME
catopen(), catclose() - open and close a message catalog for reading SYNOPSIS
DESCRIPTION
The function opens a message catalog and returns a catalog descriptor. The specifies the name of the message catalog being opened. A con- taining a slash specifies a path name for the message catalog. Otherwise, the environment variable is used (see environ(5)). If specifies more than one path, returns the catalog descriptor for the first path on which it is able to successfully open the specified message cata- log. If does not exist in the environment, or if a message catalog cannot be opened for any path, uses a system-wide default path. The default is affected by if the value of is If the value of is zero, the default is affected by the environment variable See environ(5) for details. If is invoked from or programs with owner root, the environment variable is not directly used to locate message catalogs. Instead, the paths which are available both in the configuration file and environment variable are considered to locate message catalogs. See nlspath(4) for details. Example: If the environment variable is set to: and the configuration file has an entry: only path is considered for locating catalog files. This feature is provided only for backward compatibility for those or root programs which are depending on the environment variable. All new or root programs should not depend on the environment variable and should only use absolute path names. A message catalog descriptor remains valid in a process until the process closes it or until a successful call to one of the functions. A change in the setting of the category may invalidate existing open catalogs. A file descriptor is used to implement the message catalog descriptor and the close-on-exec flag is set for the message catalog descriptor (see fcntl(2)). If is zero, the environment variable is used to locate the catalog. If is the category is used to locate the message catalog only if a successful call to has been made prior to the call to The result of setting to any other value is undefined. The function closes the message catalog a message catalog descriptor returned from an earlier successful call to RETURN VALUE
Upon success, returns a message catalog descriptor. Otherwise, returns a value of (nl_catd)-1 and sets to indicate the error. Upon success, returns zero. Otherwise, returns -1 and sets to indicate the error. ERRORS
fails without opening a message catalog and sets for the last path attempted under any of the following conditions: A component of the path prefix denies search permission, or read permission is denied for the named file. The maximum number of file descriptors allowed are currently open. The length of the specified path name exceeds bytes, or the length of a component of the path name exceeds bytes while is in effect. The system file table is full. The named catalog does not exist or the path is null. A component of the path prefix is not a directory. can be used to provide default messages when called following a failed (see catgets(3C)). returns its parameter if it is passed an invalid catalog descriptor. fails if the following is true: is not a valid open message catalog descriptor. WARNINGS
When using does not provide a default value for AUTHOR
and were developed by HP. FILES
Include file containing native language types. Message catalog default path for core HP-UX products only. SEE ALSO
fcntl(2), catgets(3C), setlocale(3C), nlspath(4), environ(5), thread_safety(5). STANDARDS CONFORMANCE
catopen(3C)
All times are GMT -4. The time now is 08:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy