[Q] exit(0) in C examples

Поиск
Список
Период
Сортировка
От Park, Chul-Su
Тема [Q] exit(0) in C examples
Дата
Msg-id 354A206B.71C749B@mhlx01.kek.jp
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Gautam H Thaker
Дата:
Сообщение: my patch for geo_opc.c (close_ps routine.)
Следующее
От: Gautam H Thaker
Дата:
Сообщение: actual patch for close_ps() [file: geo_ops.c]