Hi!!,
my HP-UX - 10.2 compiler doesnt appear to support ANSI style of coding. On compiling my C code, it flags error messages like
error 1705: Function prototypes are an ANSI Feature
Is it a generic problem with the HP compiler or do I need to use some special switches on the command... (9 Replies)
:confused: Hi, does anyone here know how to compile and run C++ in UNIX environment? I am so desperate! Any help is greatly appreciated. Thanks! (3 Replies)
i am a new user of unix
I saved an executable in fortran source code and now i have to compile this executable ( on unix). And i don't know to do it .what is the command?
thank you (2 Replies)
My question is: difference between unix and linux in terms of compiler, file system, ANSI
compliance, standard liabrary issues, threading issues, operating system
calls memory issues..ie whether these things wud cause problems while
porting a unix programme to linux.?
I think answer is depend... (1 Reply)
Does a unix compiler come standard on Darwin or do you have to DL one. What programing langauge do you write it in... I know on MS-Dos its a bash file that just uses dos commands, but I keep hearing C in this forum. how would I write and compile code for unix? just cat a new file, use unix... (0 Replies)
Hi All,
Can any one know about "Certification Programme for Unix Shell Scripting"?
How do I become Certified Unix shell scripting programmer? Where will I get this certification? How do I continue my career as a script programmer? What are the additional things to learn.
Currently I know... (14 Replies)
I am unable to compile the programs, I am able to compile .pc to .c but later part of the compilation from .c to executalbe i am unable to do.
Here is the way i am doing
make -f $LIB_LIB/makefile.templ sample
I am getting the following errors, which environment and where to set to point... (1 Reply)
Hi there,
I have written the shell script to illustrate arithmetic operations using case command as shown below:
#!/bin/bash
echo -n "Enter any two numbers :"
read a
read b
MENU="
Select any one option
1) Addition
2) Substraction
3) Multiplication
4) Division
5) Quit"
clear
$x=0;... (5 Replies)
Hi
Im using MobaXterm Unix on my windows XP.I want to compile java in unix.I have installed java to the following path C:\Program Files\Java\jdk1.7.0_09\bin
In order to compile the java prog im typing the following command after entering into the bin directory:
C:\Program... (2 Replies)
Discussion started by: ak3141
2 Replies
LEARN ABOUT DEBIAN
setprogname
GETPROGNAME(3) BSD Library Functions Manual GETPROGNAME(3)NAME
getprogname, setprogname -- get or set the program name
LIBRARY
Utility functions from BSD systems (libbsd, -lbsd)
SYNOPSIS
#include <bsd/stdlib.h>
const char *
getprogname(void);
void
setprogname(const char *progname);
DESCRIPTION
The getprogname() and setprogname() functions manipulate the name of the current program. They are used by error-reporting routines to pro-
duce consistent output.
The getprogname() function returns the name of the program. If the name has not been set yet, it will return NULL.
The setprogname() function sets the name of the program to be the last component of the progname argument. Since a pointer to the given
string is kept as the program name, it should not be modified for the rest of the program's lifetime.
In FreeBSD, the name of the program is set by the start-up code that is run before main(); thus, running setprogname() is not necessary.
Programs that desire maximum portability should still call it; on another operating system, these functions may be implemented in a portabil-
ity library. Calling setprogname() allows the aforementioned library to learn the program name without modifications to the start-up code.
SEE ALSO err(3), setproctitle(3)HISTORY
These functions first appeared in NetBSD 1.6, and made their way into FreeBSD 4.4.
BSD May 1, 2001 BSD