<strings.h>(P) POSIX Programmer's Manual <strings.h>(P)
NAME
strings.h - string operations
SYNOPSIS
#include <strings.h>
DESCRIPTION
The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided.
int bcmp(const void *, const void *, size_t); (LEGACY )
void bcopy(const void *, void *, size_t); (LEGACY )
void bzero(void *, size_t); (LEGACY )
int ffs(int);
char *index(const char *, int); (LEGACY )
char *rindex(const char *, int); (LEGACY )
int strcasecmp(const char *, const char *);
int strncasecmp(const char *, const char *, size_t);
The size_t type shall be defined through typedef as described in <stddef.h> .
The following sections are informative.
APPLICATION USAGE
None.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
<stddef.h> , the System Interfaces volume of IEEE Std 1003.1-2001, ffs(), strcasecmp(), strncasecmp()
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE
and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained
online at http://www.opengroup.org/unix/online.html .
IEEE /The Open Group 2003 <strings.h>(P)
Check Out this Related Man Page
<strings.h>(P) POSIX Programmer's Manual <strings.h>(P)
NAME
strings.h - string operations
SYNOPSIS
#include <strings.h>
DESCRIPTION
The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided.
int bcmp(const void *, const void *, size_t); (LEGACY )
void bcopy(const void *, void *, size_t); (LEGACY )
void bzero(void *, size_t); (LEGACY )
int ffs(int);
char *index(const char *, int); (LEGACY )
char *rindex(const char *, int); (LEGACY )
int strcasecmp(const char *, const char *);
int strncasecmp(const char *, const char *, size_t);
The size_t type shall be defined through typedef as described in <stddef.h> .
The following sections are informative.
APPLICATION USAGE
None.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
<stddef.h> , the System Interfaces volume of IEEE Std 1003.1-2001, ffs(), strcasecmp(), strncasecmp()
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE
and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained
online at http://www.opengroup.org/unix/online.html .
IEEE /The Open Group 2003 <strings.h>(P)
Hello,
I have a big data file (160 MB) full of records with pipe(|) delimited those fields. I`m sorting the file on the first field.
I'm trying to sort with "sort" command and it brings me 6 minutes.
I have tried with some transformation methods in perl but it results "Out of memory". I was... (2 Replies)
Good afternoon to you all
I need help
I need a script that will allow to encrypt the system´s timestamp;
I have to use a pre-shared key to cipher the timestamp, so basically I need:
1st) cipher with a pre-shared key
2nd) encrypt the timestamp
3rd) encode on a base64
the output... (1 Reply)
Hey everyone,
I'm completely stumped on this. An AIX machine I'm working on is attempting to send email, but the SMTP connection is failing. I have no idea what this code does or if it should even work. If someone could give me a hand, or a suggestion on what else to use, I would appreciate... (54 Replies)
Could someone please explain how to get a formatted date from the unix epoch (the number of seconds since Jan 1, 1970)
For example.,
If the input is 1297969816, then the output should be 2011-02-17 in YYYY-MM-DD formatted manner.
I am using AIX sh shell. Tried date -d and date --date, these... (4 Replies)
THESE ARE MY INFORMATION ABOUT MRTG AND LIBERIES.
I have mrtg version “mrtg-2.17.2”
Then after running
:rpm -qa | grep gcc I got
gcc-4.4.4-13.el6.x86_64
libgcc-4.4.4-13.el6.x86_64
libgcc-4.4.4-13.el6.i686
Then after running
:rpm -qa | grep gd I got... (1 Reply)
Hi
I need to get the date of 50th day from the last friday for one of the calculation into variable in Unix script. The format required is YYYYMMDD. I have solaris OS and dont have GNU date. I would appreciate if some one can help me with this.
It can be a onliner or function or block of code.
... (7 Replies)
Hi, i have a question, when I install any software it give error message like as follow :
sudo make
password for csm:
make all-recursive
make: Entering directory `/home/csm/Desktop/miRanda-3.3a'
Making all in man
make: Entering directory `/home/csm/Desktop/miRanda-3.3a/man'
make:... (18 Replies)
I got every time the same error leaving directory etc when i install any software. I put up the command and the error below, kindly help me out so i could proceed.
csm@csm-HP-Z420:~$ cd Desktop/
csm@csm-HP-Z420:~/Desktop$
csm@csm-HP-Z420:~/Desktop$ cd microtar-0.9.6/... (8 Replies)
I have a workaround to the problem i m posting, however if someone wants to look at my query and respond ... i will appreciate.
This is in reference to this thread -> https://www.unix.com/shell-programming-and-scripting/267630-extract-between-two-exact-matched-strings.html
I have data.txt as... (11 Replies)
Hello !
Pondering over some old post & I need some help.
Here is the link below -
https://www.unix.com/shell-programming-and-scripting/157909-pull-intermediate-strings.html
When I run this,
echo " process(130) Deleting Text on line 11 (ESN:27723211621B01DJ68AG) because a number... (2 Replies)
I can't compile anything, the final make error says "Command failed for target `install-recursive'", but I am not able to identify the root cause of that error, I tried with cc, gcc 4.5, also gcc 5.2, using make, using gmake 3.82, ld 5.11, gld 2.31... and I am totally stuck yet... please help, to... (4 Replies)
Hi
We meet errors while running configuration scripts to prepare compiling source code on AIX 7.2. This error does not happen on AIX5.3 and AIX6.1
With the “/usr/bin/sh” from AIX7.2, sometimes , the script runs sucessfully, sometimes not. It’s unstable, and I don’t know why.
When... (10 Replies)
Someone, please help on this issue:-
Note : for security reason i didn't mention hostnames and ips.
==============================================================================
# ntpstat
unsynchronised
polling server every 1024 s
Ntpstat showing unsynchronised.
... (29 Replies)