On Fri, 17 Jul 1998, Glynn Clements wrote:
This isn't an error message, it's a warning.
uh huh...
It shouldn't prevent the kernel from being compiled.
ok...
You should be able to suppress the warnings by adding
return (void *) O;
to the end of the functions in question.
On Fri, 17 Jul 1998, Tuukka Toivonen wrote:
I have been looking a comfortable editor for Linux for a quite
long time now. The most promising I have found is Zed
(http://space.tin.it/io/saserafi). However, it's not exactly what
I want.
well my favourites (in order) are:
Vi (Vim actually)
On Mon, 20 Jul 1998, Mihail Mihaylov wrote:
-Hi everybody,
-I am a programmer, but unfortunately I am not very good in Geometry and I
-have the following problem:
me neither, let's see what we can come up with, baring in mind it is 03:33am
-
-I want to add a small circle at the end of a line.
On Tue, 21 Jul 1998 [EMAIL PROTECTED] wrote:
-You can profit from junk e-mail. If your computer is sitting idle while you're at
work or play...you're crazy!
right, this one pisses me off, this is just a huge invitation to spam. i'm
going to send my own mass emails... let's see postmaster@all
where can i get info on writing shell scripts for bash (like what's the
format of an if statement?)
On Wed, 22 Jul 1998, Deng Tian wrote:
-Dear All,
is this for real? If not it's Sick. If it is then how can sending chain mails
(even though it claims not to be and then later on says it is...) help?
Where can i get the Pthreads-Dev package from? I need it so i can compile
something (sound-recorder-0.02.tar.gz) because at the moment i get this error:
bigbird:/sound-recorder-0.02# make
cd src; make all;
make[1]: Entering directory `/sound-recorder-0.02/src'
g++ -D_REENTRANT -Wall -O3 -c
Is this list broken or something? i've had hardly any mail off it! (either that
or procmail has gone a bit wonky - i'm sure it deletes mail for me! i know the
default mailbox for unsorted mail disappears every so often)
I Like England Just Fine, But I Ain't Eating Any Of That Beef
MailTo:
On Fri, 31 Jul 1998, K.HARI.KRISHNAN wrote:
//remove
This doesn't work you know...
Oh if only people would read the email they first got...
[It's the same on ALL mailing lists]
I Like England Just Fine, But I Ain't Eating Any Of That Beef
MailTo: root at kermit "dot" globalnet /dot\ co
i want to make patches for my C programs, i know it involves using diff to
make the patch, and patch to apply it but what do i do?
i've read 'man diff' and it can output patches in various formats, does it
matter which format i use (i don't think it does because patch works out the
format when
On Sat, 10 Apr 1999, Dan Jue wrote:
# Are we allowed to assume that row-major order arrays are totally
# contiguous in memory for any platform (by your example of address
Probably not.
# a[0][4])? For arrays of structures or objects (or some other big unit),
# is it not possible for their
if i know the pid of a process, how can i find out it's status? (i.e
running, blocked, ready, zombie, invalid pid...)
--
+++ If at first you don't succeed, you must be a programmer +++
[EMAIL PROTECTED] http://www.penguinpowered.com/~a_out
On Sun, 11 Apr 1999, Darius Blaszijk wrote:
# Recently I came across a package witch I want to use in my programs. The
# package consists of a header file (interface) and a *.c source code file
# (implementation). How can I use these files in my application? If I try
# to compile my application
can egcs compile kernels yet?
--
+++ The program isn't debugged until the last user is dead. +++
[EMAIL PROTECTED] http://www.penguinpowered.com/~a_out
What are the differences between:
gcc
egcs
pgc
and which should i use? Last i tried, egcs wouldn't compile kernels. All i want
is a good, quick C and C++ compiler that works 100% with all code.
Also, where am i supposed to install a c compiler and how do i remove an
existing one (after
i'm trying to communicate with a server which sends output down a socket.
The server sends a code and then some text (e.g 01: Connection Refused).
What i'd like to do is just recv the first 2 bytes and act on them, instead
of having to recv the whole line (i don't know how long the lines of text
On Wed, 28 Apr 1999, Amol Mohite wrote:
# in main function if i have int i, j;
#
# can i be sure that i and j are contiguous ?
does it matter? (think about it, what use would knowing if they were do you?)
they could be, then again could not be. Does it depend on processor archetecture
and
On Wed, 28 Apr 1999, Amol Mohite wrote:
oh goodie, more homework to do :)
# In gcc,
#
# if i = 2;
# then j = i++ + ++i;
#
# what is the value of j.
6.
# what is the calling sequence in this case ? ++i first or i++ first ?
it'd do this:
i = 2
i++ /* add 1 to i and return 2 */
i =
On Wed, 28 Apr 1999, Glynn Clements wrote:
# # Why don't you just use fgets(), fscanf() etc?
# how? don't they need a FILE pointer not a file descriptor. (this is probably
# a very silly question with a very simple answer...)
# See the fdopen(3) manpage.
Ahhh... i see.
FILE *foo;
foo =
On Wed, 28 Apr 1999, Glynn Clements wrote:
# In gcc,
#
# if i = 2;
# then j = i++ + ++i;
#
# what is the value of j.
#
# i++ == 2
# ++i == 3
# =j == 5
no. it's not. I typed this in:
main() { int i = 2; printf ("%d", i++ + ++i);}
and when i ran it i got 6
On Thu, 29 Apr 1999, Mullen, Patrick wrote:
# Like I said from the beginning (or maybe I just thought it,
# I can't remember), the example line is bad programming
# so it shouldn't be done, anyway.
yeah because if you miss out the spaces it becomes
i+j
(or whatever the variables were)
and
On Sat, 17 Oct 1998, Henrik Nordstrom wrote:
There are two UNIX mailbox formats. Which one thats used depends on your
sendmail version/configuration.
Format 1. "^From " based.
From Whoever@somewhere date
mail data. Any line beginning with "From " is escaped to "From ".
i've scanned
On Sun, 8 Nov 1998, Marc Evelyn wrote:
Nah. They use ed.
there's bits of that in VI, :q! and all that stuff. is it as bad as edlin?
On Sat, 21 Nov 1998, CyberPsychotic wrote:
probably would be worth to set list-members-only posting policy.
i don't see why this wasn't set anyway. What's the use of being able to
post to this list if you never receive replies?
On Wed, 25 Nov 1998, Glynn Clements wrote:
I'm not sure if this answers your question, but then I'm not really
sure exactly what your question was.
i'm not sure either (it was approaching 3am and i was determined to make
kernel 2.0.36 compile before i went to bed.. and i did)
i've got both
should C code be formatted so that it fits into an 80 column display? i
think it should because otherwise list and other viewers wrap the text
which looks really nasty.
A bit off topic, but interesting nontheless;
i crashed my mobile phone!
Panasonic G450, UK Vodafone
it said Lo Battery, i pressed a key (probably 5) and the backlight came
on, then the battery ran out and it said Phone Shutting Down and stayed
that way until i removed it's battery! when i
On Tue, 22 Dec 1998, James [on his mailserver] wrote:
On Tue, 22 Dec 1998, Dave wrote:
Can anyone point me to information on file formats for the following file
types:
www.wotsit.com has loads of specs on file formats.
oops, meant www.wotsit.org
in C's logic, do -1 and 1 mean the same thing? i.e FALSE. 0 is the ONLY
value that is interpreted as TRUE right?
cos i have a function (and we'll call it foo() again :) which does
something and returns -1 if there is an error and 0 if it went ok. Now if
in my main() i do this:
/* assume foo()
isn't there any way to do this:
ask user for some integer 0
make an array that big
cos i'd like to...
would this work:
int thing[0], *ptr = thing;
int in;
...
printf ("Enter a number 0:");
scanf ("%d", in);
realloc (ptr, in);
...
?
On Sun, 27 Dec 1998, Colin Campbell wrote:
errr wait a minute. 0 equals false any other value represents truth. You seem
err crap! i ALWAYS mix it up! going to buy a post-it-note and write it
down and stick it on my monitor :)
to quote from my KR C book... "if it is true (that is, if
i've written a C library (call it 'foo) and made a foo.a file using 'ar'.
Now what do i do?
i tried copying the file into /usr/local/lib and compiling a test program
using 'gcc -Wall -lfoo test.c -o test' and it complained about undefined
references to all my library routines.
i also tried
i'm writing a program which can accept switches to set various things in
the program, there will be several switches (all optional) which set
some conditions in my program to either ON or OFF. To process this i was
going to:
declare a struct like this:
struct {
unsigned int file : 1; /*
oops! i'll try sending it to the right place this time...
there isn't a linux-c-programming at vger is there?
-- Forwarded message --
Date: Sat, 2 Jan 1999 01:37:01 + (GMT)
From: "James [on his mailserver]" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Mail
in a
t
pitfalls to watch out for, and items of the such.
Thanks in advance,
-James C. Lewis
_
/_ _ _ _ / ) / _' _
(_/(///)(-_) (__ . (__(-((//_)
PUCC Information Center Consultant
[EMAIL PROTECTED]
Please place all complaints in this box -- []
101 - 135 of 135 matches
Mail list logo