Ask a Question related to AIX, Design and Development.
-
John Leslie #1
strset C command
is this available in AIX? When I compile some C code on AIX, this
function is not found. I have included string.h. Basically the code
uses it to set value to NULL
char data_length[2]
strset(data_length,'\0');
What is the equivalent to use on AIX?
John Leslie Guest
-
Acrobat 6.01: File Command disappears on Command Bar
On the Command Bar (File, Edit, View, etc.) the File Command disappears in many Acrobat operations. Is there a parameter available to insure that... -
RUN/execute a Command-Line command from an ASP page
Hi, I need to RUN/execute a Command-Line command from an ASP page. This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2... -
RUN/execute a Command-Line command from an ASP page.
Hi, I need to RUN/execute a Command-Line command from an ASP page. This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2... -
Windows Explorer Right Click Command (+ Custom Command Script)
Ok got a tricky question about custom scripts, I would like to add a Windows Explorer Right Click Command - that allows me to select an image/s... -
Multi command files and running them from the command prompt
Use the -td§ option . Details are in the section titled Command Line Processor Options in the Command Reference. "Derek Clarkson"... -
Jason Mather #2
Re: strset C command
John Leslie wrote:
> is this available in AIX? When I compile some C code on AIX, this
> function is not found. I have included string.h. Basically the code
> uses it to set value to NULL
>
> char data_length[2]
> strset(data_length,'\0');
>
> What is the equivalent to use on AIX?
strset is deprecated since it can easily overwrite memory past the
end of the string (as it would in the example above).
The code that you want is
memset(data_length, 0, 2);
-- Jason
Jason Mather Guest



Reply With Quote

