/* $OpenBSD: alloca.c,v 1.7 2004/03/10 01:17:45 deraadt Exp $ *//* Written by Michael Shalayeff, 2003, Public Domain. */#include<stdio.h>#include<stdlib.h>#include<string.h>intmain(intargc,char*argv[]){char*q,*p;p=alloca(41);strlcpy(p,"hellow world",41);q=alloca(53);strlcpy(q,"hellow world",53);exit(strcmp(p,q));}