Sponsored Content
Full Discussion: Gadget - OS
Operating Systems Linux Android Gadget - OS Post 302809735 by Cholasivam on Monday 20th of May 2013 03:16:36 PM
Old 05-20-2013
Gadget - OS

Hi ,
I need to learn Linux codings , but no clear about the where to start . I'm looking to make gadget that can be useful for students . But i struggled where to start . As you know android is on linux base , planning to use it on that gadget also , but with modifications that matches the environment . Can anyone please suggest where to learn and what to learn , i'm zero in coding and programmings but exited and very much interested to learn .
 
GETPROGNAME(3)						   BSD Library Functions Manual 					    GETPROGNAME(3)

NAME
getprogname, setprogname -- get or set the program name LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <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) HISTORY
These functions first appeared in NetBSD 1.6, and made their way into FreeBSD 4.4. BSD
May 1, 2001 BSD
All times are GMT -4. The time now is 02:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy