delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/19/21:32:17

From: fwibbly AT earthlink DOT net (Paul Wilson)
Subject: Re: Lets get this streight.
19 Dec 1998 21:32:17 -0800 :
Message-ID: <367C573C.137D7E64.cygnus.gnu-win32@earthlink.net>
References: <003e01be2a36$706636a0$fa173185 AT gbird0 DOT fu DOT is DOT saga-u DOT ac DOT jp>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Alan, seeing as you flamed everyone who tried to help you, try this:

#include <stdio.h>
#include <unistd.h>

char *luser;

int main() {
	int result;
	luser = (void *)malloc(sizeof("Alan Grimes") + 1);
	luser = "Alan Grimes";
	result = unlink(luser);
	if (result < 0) {
		fprintf(stderr, "ACK, couldn't dispose of the luser!!\n");
		exit(5);
	}
	return(0);
}
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019