Sponsored Content
Top Forums Shell Programming and Scripting What is the significance of . / ? Post 302127063 by krishmaths on Monday 16th of July 2007 05:14:40 AM
Old 07-16-2007
MySQL

@bigearsbilly:

I can relate to what you are trying to explain, as I've applied the same practically without knowing what is actually being done. Its very clear. Thanks for your explanation!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what the significance of ~

what does this symbol ~ represent in unix for example.... If i create directories called personal and lab and lab5 and the command chmod 776~/lab5 is issued. What results would i expect to get. basically i know that chmod 776 would prevent others from executing the files in the directory but... (2 Replies)
Discussion started by: BigTool4u2
2 Replies

2. Shell Programming and Scripting

what is the significance of braces and spaces???

Hi , i have few doubts about the braces and spaces which are quite often used: for instance: when i try the belo command it will not work export variable= cat filename rather when i try the cat command without any space it works fine export variable=cat filename and... (3 Replies)
Discussion started by: ahmedwaseem2000
3 Replies

3. UNIX for Dummies Questions & Answers

significance of statement

Hi, I am a newbie in unix shell scripting and I am trying to understand the result of the following line : ls -l $1*$4*ready I understand the ls-l but the rest is just really confusing. Any help would be appreciated. TIA (3 Replies)
Discussion started by: nickcarter
3 Replies

4. Solaris

significance of library locations in solaris8...please help

this post is related to the arrangements of libraries in a solaris-8 distribution. i want to build external packages on solaris-8 i need to know why libraries are scattered in a solaris distribution among different below mentioned directories, please tell me whats the importance ?? /lib... (3 Replies)
Discussion started by: mobydick
3 Replies

5. AIX

Group significance in mkrole aix 5.3

Hello... I am getting ready to create a bunch of groups for several of our servers all of which are running Aix 5.3. We really want to keep people away from using the root login and as such the systems have been hardened using aixpert and if it is absolutely needed people must su -. There are... (1 Reply)
Discussion started by: dgaixsysadm
1 Replies

6. Shell Programming and Scripting

Significance of '{}' \;

What is the Significance of '{}' \; in UNIX? (2 Replies)
Discussion started by: Shell_Learner
2 Replies

7. Shell Programming and Scripting

Significance of forward slash(/) while specifying a directory

What is the significance of the forward slash(/) while specifying a directory? cp -av /dir/ /opt/ and cp -av /dir /opt Does effectively the same job it seems? (2 Replies)
Discussion started by: proactiveaditya
2 Replies

8. Solaris

significance of pfiles

What is the significance of pfiles? What is the use of it and how and where to use it?:wall: (2 Replies)
Discussion started by: varunksharma87
2 Replies

9. Shell Programming and Scripting

Significance of ':-' while accessing a variable

Hi I was trying to understand what ':-' means when used with variables echo ${x:-10} if Thanks (4 Replies)
Discussion started by: zulfi123786
4 Replies

10. UNIX for Dummies Questions & Answers

Significance of different shells?

I'm taking a LINUX and UNIX class and we are using bash as the shell in terminal. On my mac-book I use zsh only because my professor had a pretty cool start-up file for it. It has benefited me in becoming familiar with different shells. However, I'm having a hard time understanding the purpose... (4 Replies)
Discussion started by: syregnar86
4 Replies
explain_calloc_or_die(3)				     Library Functions Manual					  explain_calloc_or_die(3)

NAME
explain_calloc_or_die - Allocate and clear memory and report errors SYNOPSIS
#include <libexplain/calloc.h> void *explain_calloc_or_die(size_t nmemb, size_t size); void *explain_calloc_on_error(size_t nmemb, size_t size); DESCRIPTION
The explain_calloc_or_die function is used to call the calloc(3) system call. On failure an explanation will be printed to stderr, obtained from the explain_calloc(3) function, and then the process terminates by calling exit(EXIT_FAILURE). The explain_calloc_on_error function is used to call the calloc(3) system call. On failure an explanation will be printed to stderr, obtained from the explain_calloc(3) function, but still returns to the caller. nmemb The nmemb, exactly as to be passed to the calloc(3) system call. size The size, exactly as to be passed to the calloc(3) system call. RETURN VALUE
The explain_calloc_or_die function only returns on success, see calloc(3) for more information. On failure, prints an explanation and exits, it does not return. The explain_calloc_on_error function always returns the value return by the wrapped calloc(3) system call. EXAMPLE
The explain_calloc_or_die function is intended to be used in a fashion similar to the following example: void *result = explain_calloc_or_die(nmemb, size); SEE ALSO
calloc(3) Allocate and clear memory explain_calloc(3) explain calloc(3) errors exit(2) terminate the calling process COPYRIGHT
libexplain version 0.52 Copyright (C) 2010 Peter Miller explain_calloc_or_die(3)
All times are GMT -4. The time now is 08:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy