04-30-2009
Quote:
Originally Posted by
squosl
The not so short answer would be that Unix is an OS, copyright owned by Bell Labs while Linux is a kernel, and depends on a crapload of utilities from the GNU project to put the whole OS together. Linux tries to be POSIX compliant, I'm not sure Unix is entirely POSIX compliant either.
A clarification - The Unix copyright is owned by Novell. AFAIR, they acquired it via USL and the Destiny project.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
well through my 6 months education i know some unix os but i can't find one for my p3 via board can any one tell me where to find such please replay as email or private msg and thanks (3 Replies)
Discussion started by: JaMaL
3 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I would like to write a script which sends an email to clients.
mailx -s "TEST" $EMAIL_RECIPIENTS < FILE ...will send an email to EMAIL_RECIPIENTS with TEST as the subject and FILE as the body.
Now I have a another CONTROL_FILE which is constant all the times (FILE in the above... (1 Reply)
Discussion started by: jingi1234
1 Replies
3. UNIX for Dummies Questions & Answers
I am using rsync for my backing up my files, from one box to other box,
While doing I am getting following error.
arb821/Server/logs/rpcMetrics/
arb821/Server/logs/AribaOrderTransmitterLog.txt
write failed on arb821/Server/logs/AribaOrderTransmitterLog.txt : Error 0
rsync error: error in... (2 Replies)
Discussion started by: redlotus72
2 Replies
4. Programming
Can you help me with my code?
I wrote a Java program and ran it in gdb, the debugger said that :
(gdb) run handhelditems 1 1000
Starting program: /home/wqq/crawl/handhelditems/crawl_what_i_want handhelditems 1 1000
Program received signal SIGPWR, Power fail/restart. (2 Replies)
Discussion started by: cf.george
2 Replies
5. UNIX for Dummies Questions & Answers
I'm not sure where to post this but I'm having some trouble with the directories in CP/M... I'm sorry about the length but I'm totally confused... I've seen that the directory entry in CP/M contains the following:
1 byte User Code
8 bytes Filename
3 bytes File extension
1 byte Extension
2... (3 Replies)
Discussion started by: Legend986
3 Replies
6. Forum Support Area for Unregistered Users & Account Problems
How to post a new thread (Regarding Unix related doubts) in Unix Forums.
I registered my id but I am unable to post my Questions to Forum.
Thanks & Regards,
indusri (1 Reply)
Discussion started by: indusri
1 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
I have few question related to Unix environment and commands :
1. what is .chrc file contain and if it is not present then what happens.
2. what is .login file contain,in which dir it is present and what all other uses are their for this file
3. how and who calls .profile when you... (2 Replies)
Discussion started by: ravi.sadani19
2 Replies
8. UNIX for Advanced & Expert Users
Hi all,
Does unix has any commands for creating BLOB and CLOB objects.
Please forward me any sites or samples (2 Replies)
Discussion started by: rajeshorpu
2 Replies
9. Shell Programming and Scripting
Hi,
I need to know wat does if ! >$tmp_out in the below script mean:
tmp_out=$SCRATCH_DIR/file_cat.$$.tmp
if
! > $tmp_out
then
print "Could not initialize temorary file" >&2
my_exit_code=21
break
fi
---------- Post updated at 04:28 AM ----------... (4 Replies)
Discussion started by: abhishek.gupta
4 Replies
10. Shell Programming and Scripting
Hi All,
I am trying to dowmload the zip file "zkManageCustomers.zip " but i dont have access. Can anyone help me to download this file
See the below link-
http://www.ibm.com/developerworks/opensource/library/wa-aj-open/index.html?ca=drs-
Please help me as early as... (1 Reply)
Discussion started by: aish11
1 Replies
LEARN ABOUT CENTOS
strerror_r
STRERROR(3) Linux Programmer's Manual STRERROR(3)
NAME
strerror, strerror_r - return string describing error number
SYNOPSIS
#include <string.h>
char *strerror(int errnum);
int strerror_r(int errnum, char *buf, size_t buflen);
/* XSI-compliant */
char *strerror_r(int errnum, char *buf, size_t buflen);
/* GNU-specific */
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
The XSI-compliant version of strerror_r() is provided if:
(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE
Otherwise, the GNU-specific version is provided.
DESCRIPTION
The strerror() function returns a pointer to a string that describes the error code passed in the argument errnum, possibly using the
LC_MESSAGES part of the current locale to select the appropriate language. (For example, if errnum is EINVAL, the returned description
will "Invalid argument".) This string must not be modified by the application, but may be modified by a subsequent call to strerror(). No
library function, including perror(3), will modify this string.
The strerror_r() function is similar to strerror(), but is thread safe. This function is available in two versions: an XSI-compliant ver-
sion specified in POSIX.1-2001 (available since glibc 2.3.4, but not POSIX-compliant until glibc 2.13), and a GNU-specific version (avail-
able since glibc 2.0). The XSI-compliant version is provided with the feature test macros settings shown in the SYNOPSIS; otherwise the
GNU-specific version is provided. If no feature test macros are explicitly defined, then (since glibc 2.4) _POSIX_SOURCE is defined by
default with the value 200112L, so that the XSI-compliant version of strerror_r() is provided by default.
The XSI-compliant strerror_r() is preferred for portable applications. It returns the error string in the user-supplied buffer buf of
length buflen.
The GNU-specific strerror_r() returns a pointer to a string containing the error message. This may be either a pointer to a string that
the function stores in buf, or a pointer to some (immutable) static string (in which case buf is unused). If the function stores a string
in buf, then at most buflen bytes are stored (the string may be truncated if buflen is too small and errnum is unknown). The string always
includes a terminating null byte ('