Search Results

Search: Posts Made By: ephemera
Forum: Solaris 12-29-2007
7,438
Posted By ephemera
with ksh93 you can use shcomp to create a binary...
with ksh93 you can use shcomp to create a binary (intermediate code) that can be run by ksh93.
but I agree with porter^.
Forum: Programming 11-01-2007
11,297
Posted By ephemera
You didn't allocate memory to ch. Try: ...
You didn't allocate memory to ch.
Try:

int main( ) {
char *ch = malloc(1);
*ch = 'A';
int *p = (int*) &ch[0]; // or &ch[1], &ch[2], …. ch; but &ch runs fine
...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy