-O append: append to output flag
[tfcrypt.git] / tfcrypt.c
index 5630a391a6c1798393308d810599512645f9f69b..e8514391b8036b8168c5f85d7ef32e8383c59542 100644 (file)
--- a/tfcrypt.c
+++ b/tfcrypt.c
@@ -311,6 +311,8 @@ _baddfname:
                                                write_flags |= O_SYNC;
                                        else if (!strcmp(s, "trunc"))
                                                write_flags |= O_TRUNC;
+                                       else if (!strcmp(s, "append"))
+                                               write_flags |= O_APPEND;
                                        else if (!strcmp(s, "fsync"))
                                                do_fsync = YES;
                                        else if (!strcmp(s, "pad"))