[Q] exit(0) in C examples - Mailing list pgsql-hackers

From Park, Chul-Su
Subject [Q] exit(0) in C examples
Date
Msg-id 354A206B.71C749B@mhlx01.kek.jp
Whole thread Raw
List 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



pgsql-hackers by date:

Previous
From: Gautam H Thaker
Date:
Subject: my patch for geo_opc.c (close_ps routine.)
Next
From: Gautam H Thaker
Date:
Subject: actual patch for close_ps() [file: geo_ops.c]