loc - return the address of an object
function loc (arg)
The returned value will be the address of arg.
4.2 Berkeley Distribution May 15, 1985 LOC(3F)
Check Out this Related Man Page
CTYPE_L(3) BSD Library Functions Manual CTYPE_L(3)NAME
digittoint_l, isalnum_l, isalpha_l, isascii_l, isblank_l, iscntrl_l, isdigit_l, isgraph_l, ishexnumber_l, isideogram_l, islower_l,
isnumber_l, isphonogram_l, isprint_l, ispunct_l, isrune_l, isspace_l, isspecial_l, isupper_l, isxdigit_l, toascii_l, tolower_l, toupper_l --
character classification macros
Standard C Library (libc, -lc)
digittoint_l(int c, locale_t loc);
isalnum_l(int c, locale_t loc);
isalpha_l(int c, locale_t loc);
isascii_l(int c, locale_t loc);
iscntrl_l(int c, locale_t loc);
isdigit_l(int c, locale_t loc);
isgraph_l(int c, locale_t loc);
ishexnumber_l(int c, locale_t loc);
isideogram_l(int c, locale_t loc);
islower_l(int c, locale_t loc);
isnumber_l(int c, locale_t loc);
isphonogram_l(int c, locale_t loc);
isprint_l(int c, locale_t loc);
ispunct_l(int c, locale_t loc);
isrune_l(int c, locale_t loc);
isspace_l(int c, locale_t loc);
isspecial_l(int c, locale_t loc);
isupper_l(int c, locale_t loc);
isxdigit_l(int c, locale_t loc);
toascii_l(int c, locale_t loc);
tolower_l(int c, locale_t loc);
toupper_l(int c, locale_t loc);
These functions are extended locale versions of the corresponding functions in ctype(3). Also, see xlocale(3) for more information about
SEE ALSO ctype(3), xlocale(3)BSD March 11, 2005 BSD
I try to configure snedmail as smtp for my solaris box. if the useres are local there's no problem everything's working fine, but is it outside, sendmail says it could find the host. why?! all other tools find diffrent host?
Could anyone tell me how I set up an easy mx ? So I test it with... (29 Replies)
Ubuntu 7.04 server amd64
$ telnet localhost 106
telnet: Unable to connect to remote host: Connection refused
$ netstat -an | grep 106
$ sudo netstat -an | grep 106
both no printout
Pls advise where shall I check and how to fix... (22 Replies)
I am trying to run xclock on newly built solaris box - These are the steps I followed:
# export DISPLAY
xclock: not found
# cd /usr/openwin/bin
Error: Can't open display: localhost:0.0
Please suggest, what am i doing wrong?
Thank... (27 Replies)
I am somewhat new to Solaris - and very new when it comes to mounts.
My problem is that when I installed Solaris, I allocated way too little diskspace to my / mount (it first became obvious now, however, because of new needs).
bash-3.00# df -h
Filesystem size ... (25 Replies)
i have read the manual page of alloca ,
it is documented there that "alloca works similar to the malloc but it allocates memory from stack and frees automatically".
i can't get how can i use that in a program .
if i'm not wrong can i use that like :
#include<stdio.h>... (24 Replies)
So, is there way of automating this ?
My ultimate goal is to run some cmd script in windows and it should connect to a remote unix host and run a script x.sh located on the remote unix host.
I was wanting to achieve this by using WinSCP and Putty only. If possible let me know how and if not... (25 Replies)
Hello to all,
I would like to search sequences of bytes inside big binary file.
The bin file contains blocks of information, each block begins is estructured as follow:
1- Each block begins with the hex 32 (1 byte) and ends with FF. After the FF of the last block, it follows 33.
2- Next... (59 Replies)
how to count number of files successfully copied while coping files from source to destination path
ex:10 files from source to target location copying
if 8 files copied successfully then
echo successfully copied=8
if two files get error to coping files from... (23 Replies)
Following one line of awk code removes first 3 characters from each line but when I run the same code on another linux platform it doesn't work and only prints blank lines for each record. Can anyone please explain why this doesn't work? (31 Replies)
I am trying to grep for a particular text (Do action on cell BL330) in a text file(sample.gz) which is searched in the content filtered by date+timestamp (2016-09-14 01:09:56,796 to 2016-09-15 04:10:29,719) on a remote machine and finally write the output into a output file on a local machine.
... (23 Replies)
Hope everybody is having fun with their Solaris installations and not pulling out too much of whatever hair they have left so far. :)
Just for sport, I bought an old Netra 240 used by Northern Telecom Turkish subsidiary Netas here in Turkey. My hope is to turn this into an ugly... (33 Replies)
2 scripts to convert IP ranges to CIDR notation using awk, gawk or mawk. The scripts are much faster than using ipcalc and will return the same results. The first script is reliably compatible with awk, gawk and mawk but is over 3 times as slow as the second script which is reliably compatible with... (38 Replies)