From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 28 Feb 2005 12:31:31 +0300 From: Oleg Pan X-Mailer: The Bat! (v2.12.00) Business X-Priority: 3 (Normal) Message-ID: <13110556872.20050228123131@narod.ru> To: community@altlinux.ru MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Subject: [Comm] =?windows-1251?b?0SDv8O7j8ODs7Ojx8vsg7+7s7uPo8uUg7+7m4Ovz?= =?windows-1251?b?6fHy4C4=?= X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 09:31:32 -0000 Archived-At: List-Archive: List-Post: Hello , Master 2.4 gcc version 3.3.3 20040412 (ALT Linux, build 3.3.3-alt5) компиляция gcc file.c без ошибок при запуске SegFault я думаю там /**/ он не может выполнить strtok #include #include void main(){ char *string; string = "a string, of , ,tokens"; const char *delim = ","; char *token; token = strtok(string,delim); /**/ while (token !=NULL) { printf("%s\n",token); token = strtok(NULL,delim); }; }; -- Best regards, Oleg mailto:wacom@narod.ru