08-30-2017
Change value for POSIX
Hi,
I have a VM with following configration .
3.10.0-693.1.1.el7.x86_64 #1 SMP Thu Aug 3 08:15:31 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
My current POSIX is :--
Your environment variables take up 2011 bytes
POSIX upper limit on argument length (this system): 2093093
POSIX smallest allowable upper limit on argument length (all systems): 4096
Maximum length of command we could actually use: 2091082
Size of command buffer we are actually using: 131072
I want to change the value for POSIX smallest allowable upper limit on argument length (all systems): 4096 to 1 MB.
How do we get this changed ?
Regards.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What is posix? What is the relation between Posix, Unix and linux? (1 Reply)
Discussion started by: darbarilal
1 Replies
2. Programming
can somebody explain about the ANSI C vs POSIX. say i was using open and fopen, i know that open is POSIX, and fopen is ANSI C. i read that that POSIX is a system call and ANSI C is like a standard library function. wouldn't the fopen function has to call on open function anyway to open any kind... (2 Replies)
Discussion started by: bb00y
2 Replies
3. Programming
Please,does anybody can give me any general info about unix(posix) ? (1 Reply)
Discussion started by: Haris Astreos
1 Replies
4. UNIX for Dummies Questions & Answers
how to read POSIX? poe six or not? (3 Replies)
Discussion started by: robin.zhu
3 Replies
5. Programming
Hello !
Let's supose I have a main function in C , and two POSIX threads. I give you an example down :
int main() {
int something;
char else;
void *FirstThread();
void *SecondThread();
..
<start those two pthreads ..>
return 0;}
void *FirstThread() { ... }
void *SecondThread()... (2 Replies)
Discussion started by: !_30
2 Replies
6. Programming
HI,
When i am configuring php in SUN Solaris. I am getting the below error.
configure: error: Your system seems to lack POSIX threads.
Do i need to install POSIX? If so can somebody let me know where can i download POSIX for Solaris 8?
Thanks, (2 Replies)
Discussion started by: Krrishv
2 Replies
7. UNIX for Advanced & Expert Users
Hi,
consider the code below:
#include <stdio.h>
.
.
struct myStruct
{
char *message ;
int id;
};
.
.
.
void *thread_function( void *ptr );
nt main()
{
pthread_t thread1, thread2 ,thread3 ;
struct myStruct nico1; (2 Replies)
Discussion started by: Behnaz
2 Replies
8. UNIX for Advanced & Expert Users
Hi ,
I am using UNIX network programming Vol1 (by R Stevens) book to learn about IPC.
I would be using HP-UX,Solaris and Linux at my work.
I have sections for POSIX and for System V in that book.
I am quite confused in indentifying those OSs as POSIX or SYstem V.
Can anyone please... (1 Reply)
Discussion started by: kumaran_5555
1 Replies
9. Programming
I want to create a program that creates 2 child process, and each of them creates 2 threads, and each thread prints its thread id. I0ve allread done that the outuput isn't the outuput i want.
When a run the following comand "$./a.out | sort -u | wc -l" I have the folowing output
2
$:
It should... (3 Replies)
Discussion started by: pharaoh
3 Replies
10. OS X (Apple)
Thanks to all you guys about posix compliance I have learnt an enormous amount over the last few days.
I have written a program that is an Egg Timer with simple animation.
I now realise how sophisticated 'bash' is compared to full posix compliance.
The code below has passed all of the tests from... (11 Replies)
Discussion started by: wisecracker
11 Replies
LEARN ABOUT OSF1
xmtextfieldsetmaxlength
XmTextFieldSetMaxLength(3X) XmTextFieldSetMaxLength(3X)
NAME
XmTextFieldSetMaxLength - A TextField function that sets the value of the current maximum allowable length of a text string entered from
the keyboard
SYNOPSIS
#include <Xm/TextF.h>
void XmTextFieldSetMaxLength (widget, max_length)
Widget widget;
int max_length;
DESCRIPTION
XmTextFieldSetMaxLength sets the value of the current maximum allowable length of the text string in the TextField widget. The maximum
allowable length prevents the user from entering a text string from the keyboard that is larger than this limit. Strings that are entered
using the XmNvalue (or XmNvalueWcs) resource, or the XmTextFieldSetString (or XmTextFieldSetStringWcs) function ignore this resource.
Specifies the TextField widget ID Specifies the maximum allowable length of the text string
For a complete definition of TextField and its associated resources, see XmTextField(3X).
SEE ALSO
XmText(3X), XmTextFieldSetString(3X), XmTextFieldSetStringWcs(3X)
XmTextFieldSetMaxLength(3X)