[Q] exit(0) in C examples

From: "Park, Chul-Su" <pcs(at)mhlx01(dot)kek(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [Q] exit(0) in C examples
Date: 1998-05-01 19:20:12
Message-ID: 354A206B.71C749B@mhlx01.kek.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello all,

I asked many times in other mailing lists, but nobody seems to
reply(or is this kind of question is already mentioned elsewhere? it is
very hard to find something in mail archieves on PostgreSQL site)...

Does anybody know WHY all examples(in C) end with "exit(0)" not
return 0 ? when I tried large object examples(testlo.c or c++
examples), it always segfaulted! if I comment out exit(0) on redhat 5.0
linux. memory leak or some bugs?

Best Regards, C.S.Park

Browse pgsql-hackers by date

  From Date Subject
Next Message Brett McCormickS 1998-05-01 20:45:32 rule/notify bug?
Previous Message Gautam H Thaker 1998-05-01 19:17:58 actual patch for close_ps() [file: geo_ops.c]