Creates, changes, or deletes the volume label (that is, the name) of a disk
http://en.wikipedia.org/wiki/Volume_(computing)#Volume_label
suggested reading for mathematical relations to coding.
suggested reading for mathematical relations to coding.
http://steve-yegge.blogspot.in/2006/03/math-for-programmers.html
readings.1
suggested reading for mathematical relations to coding.
part of the original file [ uname.c ]
/* uname -- print system information
Copyright (C) 1989, 1992, 1993, 1996, 1997, 1999-2005,
2007-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see . */
/* Written by David MacKenzie */
/* This kludge works around a bug in Mac OS X. */
if (element == unknown)
{
cpu_type_t cputype;
size_t s = sizeof cputype;
NXArchInfo const *ai;
if (sysctlbyname ("hw.cputype", &cputype, &s, NULL, 0) == 0
&& (ai = NXGetArchInfoFromCpuType (cputype,
CPU_SUBTYPE_MULTIPLE))
!= NULL)
element = ai->name;
gpic
color
Changes the Command Prompt window foreground and background colors for the current session
http://en.wikipedia.org/wiki/Color
Related Post GNU/Linux
rename.c
/* Work around the bug in some systems whereby rename fails when the source
file has a trailing slash. The rename functions of SunOS 4.1.1_U1 and
mips-dec-ultrix4.4 have this bug.
Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
/* written by Volker Borchert */
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#undef rename
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dirname.h"
#include "xalloc.h"
/* Rename the file SRC to DST, removing any trailing
slashes from SRC. Needed for SunOS 4.1.1_U1. */
int
rpl_rename (char const *src, char const *dst)
{
char *src_temp;
int ret_val;
size_t s_len = strlen (src);
if (s_len && src[s_len - 1] == '/')
{
src_temp = xstrdup (src);
strip_trailing_slashes (src_temp);
}
else
src_temp = (char *) src;
ret_val = rename (src_temp, dst);
if (src_temp != src)
free (src_temp);
return ret_val;
}
http://www.opengroup.org/onlinepubs/009695399/functions/strdup.html
http://en.wikipedia.org/wiki/SunOS
install.2 [ functions ]
install function = function to copy + function to set attributes.
[latex]
\ f \ \; \; = \; \; \ f \ _{1} \; + \; \ f \ _{2}
[/latex]
data.configuration file
/* Source Installer, Copyright (c) 2005,2006,2007 Claudio Fontana
preferences.c - user choices saved in the preferences file
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program (look for the file called COPYING);
if not, write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
You can contact the author (Claudio Fontana) by sending a mail
to claudio@gnu.org
*/
#include "src_stdinc.h"
#include "preferences.h"
struct srcinst_parsed_data _keywords_preferences[SRCINST_PREFERENCES_NKEYS]
= {
{"ADD_DIRECTORY", 0, "%s"},
{"INSTALL", 0, "%d"},
{"KEEP_SOURCE", 0, "%d"},
{"MANUAL_CONFIGURE", 0, "%d"},
{"PREFIX", 0, "%s"},
{"QUIET", 0, "%d"},
{"SRC_COMPRESS", 0, "%s"},
{"STRIP", 0, "%d"}
};
http://jan.newmarch.name/OS/l5_2.html
http://cprogramminglanguage.net/c-structure.aspx
fc-scan
fc-scan scans file(s) recursively and prints out font pattern for each face found.
http://www.freedesktop.org/wiki/Software/fontconfig



